activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From echuang <>
Subject ActiveMQ integration with existing J2EE project
Date Tue, 17 Oct 2017 09:46:09 GMT

Currently I'm converting the old J2EE components into SpringBoot compliance
Now i had 1 component already converted into SpringBoot which uses ActiveMQ
as JMS provider. 

The problem that facing is a component uses JMS provider; Previously created
manually in Glassfish with ConnectionFactory and Queue, and the JMS codes
written with J2EE codes, which uses QueueConnectionFactory and Queue both
from javax.jms package. 

Is there any solution, without changes make on the J2EE compliance
component, it will be fine uses ActiveMQ within the SpringBoot application ? 

Below attached with sample code for the jms implementation:

InitialContext jndi = new InitialContext();
javax.jms.QueueConnectionFactory queueConnectionFactory =
(QueueConnectionFactory) jndi.lookup( CONNECTION_FACTORY_NAME );
javax.jms.Queue queue = (Queue) jndi.lookup( QUEUE_NAME );

Thank You

Sent from:

View raw message