[
https://issues.apache.org/jira/browse/AMQ-9478?focusedWorklogId=946938&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-946938
]
ASF GitHub Bot logged work on AMQ-9478:
---------------------------------------
Author: ASF GitHub Bot
Created on: 05/Dec/24 21:40
Start Date: 05/Dec/24 21:40
Worklog Time Spent: 10m
Work Description: pa-deasy commented on code in PR #1360:
URL: https://github.com/apache/activemq/pull/1360#discussion_r1872191124
##########
activemq-unit-tests/src/test/java/org/apache/activemq/ActiveMQSslConnectionFactoryTest.java:
##########
@@ -103,6 +117,24 @@ public void testCreateSslConnection() throws Exception {
brokerStop();
}
+ public void testCreateSslConnectionWithSocketParameters() throws Exception
{
+ // Create SSL/TLS connection with trusted cert from truststore.
+ String sslUri =
"ssl://localhost:61611?socket.enabledProtocols=TLSv1.3";
+ broker = createSslBroker(sslUri);
+ assertNotNull(broker);
+
+ // This should create the connection.
+ ActiveMQSslConnectionFactory cf = getFactory(sslUri);
+ cf.setTrustStore("server.keystore");
+ cf.setTrustStorePassword("password");
+ connection = (ActiveMQConnection)cf.createConnection();
+ LOG.info("Created client connection");
Review Comment:
We don't really. Let me remove that.
Issue Time Tracking
-------------------
Worklog Id: (was: 946938)
Time Spent: 0.5h (was: 20m)
> Add unit test for modernized IntrospectionSupport
> -------------------------------------------------
>
> Key: AMQ-9478
> URL: https://issues.apache.org/jira/browse/AMQ-9478
> Project: ActiveMQ Classic
> Issue Type: Task
> Reporter: Matt Pavlovich
> Assignee: Jean-Baptiste Onofré
> Priority: Minor
> Fix For: 6.2.0
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> Update unit test to verify transport connector and network connector uri
> handling for
> IntrospectionSupport to deal with TcpSocket properties
> IntrospectionSupport to deal with SSLSocket properties
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact