Add SSL integration tests and support for SSL connections in ActiveMQ#30
Merged
Add SSL integration tests and support for SSL connections in ActiveMQ#30
Conversation
Owner
blackb1rd
commented
Feb 16, 2026
- Introduced OpenwireMultiConnectionTest for testing multiple simultaneous connections to different brokers.
- Created main integration benchmark test runner in main.cpp.
- Updated CMakeLists.txt to include new integration benchmark tests.
- Added OpenwireSslConnectionTest and OpenwireSslSimpleTest for SSL connection testing.
- Enhanced IntegrationCommon to provide SSL OpenWire URL.
- Updated docker-compose.yml to include SSL broker configuration.
- Added SSL broker configuration in activemq-ssl.xml.
- Created script to generate self-signed certificates for SSL testing.
- Introduced OpenwireMultiConnectionTest for testing multiple simultaneous connections to different brokers. - Created main integration benchmark test runner in main.cpp. - Updated CMakeLists.txt to include new integration benchmark tests. - Added OpenwireSslConnectionTest and OpenwireSslSimpleTest for SSL connection testing. - Enhanced IntegrationCommon to provide SSL OpenWire URL. - Updated docker-compose.yml to include SSL broker configuration. - Added SSL broker configuration in activemq-ssl.xml. - Created script to generate self-signed certificates for SSL testing. Signed-off-by: Prachya Saechua <psaechua@cpaxtra.co.th>
Signed-off-by: Prachya Saechua <psaechua@cpaxtra.co.th>
…nd content Signed-off-by: Prachya Saechua <psaechua@cpaxtra.co.th>
…larity and port remapping Signed-off-by: Prachya Saechua <psaechua@cpaxtra.co.th>
…r logging during SSL connection and handshake Signed-off-by: Prachya Saechua <psaechua@cpaxtra.co.th>
…dling - Refactored OpenwireSslSlowListenerTest to include a dedicated SlowListener class that tracks message counts and thread IDs. - Updated testSlowListener to validate that all messages are processed by a single thread and to ensure message counts are accurate. - Expanded OpenwireSslTransactionTest with additional transaction scenarios, including batch sending and rollback handling. - Improved testSendRollbackCommitRollback to ensure messages are correctly rolled back and re-sent. - Added testSendSessionClose to verify behavior when closing sessions during message transactions. - Introduced testWithTTLSet to validate message expiration handling in transactions. - Enhanced OpenwireSslVirtualTopicTest to streamline virtual topic message sending and receiving with various acknowledgment modes. Signed-off-by: Prachya Saechua <psaechua@cpaxtra.co.th>
Signed-off-by: Prachya Saechua <psaechua@cpaxtra.co.th>
…update documentation for clarity Signed-off-by: Prachya Saechua <psaechua@cpaxtra.co.th>
… test cases for OpenWire SSL features Signed-off-by: Prachya Saechua <psaechua@cpaxtra.co.th>
- Updated OpenwireSslSlowListenerTest to improve namespace formatting. - Refactored OpenwireSslTempDestinationTest to replace inheritance from TempDestinationTest with CMSTestFixture, adding new test cases for message handling and connection behavior. - Enhanced OpenwireSslTransactionTest and OpenwireSslXATransactionsTest to utilize Google Test framework, improving structure and readability. - Updated IntegrationCommon to include SSL peer verification details. - Modified CMake presets to enable SSL support. - Adjusted docker-compose and SSL configuration files to reflect new paths for ActiveMQ and certificate files. Signed-off-by: Prachya Saechua <psaechua@cpaxtra.co.th>
Signed-off-by: Prachya Saechua <psaechua@cpaxtra.co.th>
…Docker Compose comments Signed-off-by: Prachya Saechua <psaechua@cpaxtra.co.th>
Signed-off-by: Prachya Saechua <psaechua@cpaxtra.co.th>
…AVE_OPENSSL Signed-off-by: Prachya Saechua <psaechua@cpaxtra.co.th>
Signed-off-by: Prachya Saechua <psaechua@cpaxtra.co.th>
…ent early returns Signed-off-by: Prachya Saechua <psaechua@cpaxtra.co.th>
…d decaf modules Signed-off-by: Prachya Saechua <psaechua@cpaxtra.co.th>
…el matching Signed-off-by: Prachya Saechua <psaechua@cpaxtra.co.th>
Signed-off-by: Prachya Saechua <psaechua@cpaxtra.co.th>
…ent early returns Signed-off-by: Prachya Saechua <psaechua@cpaxtra.co.th>
…nation handling Signed-off-by: blackb1rd <blackb1rd.mov@gmail.com>
…g concurrent SSL_read and SSL_write operations Signed-off-by: blackb1rd <blackb1rd.mov@gmail.com>
… and signals Signed-off-by: Prachya Saechua <psaechua@cpaxtra.co.th>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.