I was wondering maybe extending the org.apache.activemq.ActiveMQSslConnectionFactory class and providing hooks to set KeyManagers and TrustManagers will do the trick....
On Wed, May 14, 2008 at 7:00 AM, Gary Tully <[EMAIL PROTECTED]> wrote: > it should respond to the javax.net.ssl.* system properties[1] but > these may have too far reaching an effect. > > [1] > http://java.sun.com/j2se/1.5.0/docs/guide/security/jsse/JSSERefGuide.html#Customization > > 2008/5/12 sudip shrestha <[EMAIL PROTECTED]>: > > Is it possible to do this with the current version of Activemq with > tomcat? > > Any suggestion is highly appreciated. Thanks. > > > > On Thu, May 8, 2008 at 10:21 AM, sudip shrestha <[EMAIL PROTECTED]> > wrote: > > > >> Is it possible to setup jndi with ssl connection for Activemq in tomcat. > >> If so where do I define the client.ks/client.ts files? > >> > >> My jndi config in context.xml file: > >> <Context antiJARLocking="true"> > >> <Resource > >> name="jms/ConnectionFactory" > >> auth="Container" > >> type="org.apache.activemq.ActiveMQConnectionFactory" > >> description="JMS Connection Factory" > >> factory="org.apache.activemq.jndi.JNDIReferenceFactory" > >> brokerURL="ssl://localhost:61617" > >> brokerName="LocalActiveMQBroker" > >> useEmbeddedBroker="false"/> > >> > >> </Context> > >> > >> > > >