activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From SGupta67 <>
Subject Listen to AcitveMQ remotely from weblogic
Date Fri, 02 Dec 2016 21:13:40 GMT
Hello Everybody, I'm trying to listen to remote ActiveMQ from weblogic
server. I have the following configuration setup, my listener does not
listen to the ActiveMQ. Can you please help? On the weblogic server I have
deployed a EJB that has MyListener implementing MessageListener and looks
like this:@MessageDriven(activationConfig = {        
@ActivationConfigProperty(propertyName =
"initialContextFactory",propertyValue =
@ActivationConfigProperty(propertyName = "destinationType",             
propertyValue = "javax.jms.Queue"), //"org.apache.activemq.Queue"),       
@ActivationConfigProperty(propertyName = "destinationJndiName",         
propertyValue = "myqueue"),              })public class MyListener
implements MessageListener {  public MyListener(){ }   public void
onMessage(Message message) {  System.out.println("I got a message."); } }In
weblogic-ejb-jar.xml I have the provider url: tcp://remotehostname:61616/I
can see messages in the queue but this listener is not able to listen to the
messages. I see the following error in my error log: . The Error was:The
destination for the MessageDrivenBean MyListener(Application: TestEAR,
EJBComponent: TestEJB.jar) could not be resolved at this time. Please ensure
the destination is  available at the JNDI name .  The EJB container will
periodically attempt to resolve this MessageDrivenBean destination and
additional warnings may be issued.>Any clue on how to proceed?

View this message in context:
Sent from the ActiveMQ - User mailing list archive at
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message