[jboss-user] [JNDI and Naming] - Re: QueueConnectionFactory problem in JBoss-5.1.0.GA

hmusavi do-not-reply at jboss.com
Mon May 23 15:26:16 EDT 2011


hmusavi [http://community.jboss.org/people/hmusavi] created the discussion

"Re: QueueConnectionFactory problem in JBoss-5.1.0.GA"

To view the discussion, visit: http://community.jboss.org/message/606611#606611

--------------------------------------------------------------
Hi Mark,

Thank you for your reply. I did try your suggestion as well but it still would not work. I was not getting any error but it seems that the message was not being delivered. The onMessage() method of my MDB was never being called. The only way I could get it to work was to add the following to connection-factories-service.xml.


  <mbean code="org.jboss.naming.LinkRefPairService"
         name="jboss.jms:alias=QueueConnectionFactory">
    <attribute name="JndiName">QueueConnectionFactory</attribute>
    <attribute name="RemoteJndiName">ConnectionFactory</attribute>
    <attribute name="LocalJndiName">java:/JmsXA</attribute>
    <depends>jboss:service=Naming</depends>
  </mbean>



Thanks,
Hamid
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/606611#606611]

Start a new discussion in JNDI and Naming at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2083]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110523/a9179324/attachment.html 


More information about the jboss-user mailing list