activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From samd <>
Subject ActiveMQ TextMessage to GlassFish Queue
Date Thu, 05 Apr 2007 23:26:34 GMT

I have a standalone ActiveMQ client which I'm trying to get to send a
TextMessage to a GlassFish queue so that it can be consumed by a MDB. What
is the procedure required to do this? I tried using the standard mechanism

String  serverUrl="tcp://<host>:<port>/";
ActiveMQConnectionFactory factory = new ActiveMQConnectionFactory( serverUrl
QueueConnection queueConnection =
QueueSession  senderSession =
Queue requestQueue = senderSession.createQueue("testQueue"); 

 QueueSender sender = senderSession.createSender(requestQueue); 

This doesn't appear to work.

Any help would be greatly appreciated.

Thanks, S.D.

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message