[jboss-dev-forums] [Design of JCA on JBoss] - Re: Message delivered to wrong endpoint

wolfc do-not-reply at jboss.com
Thu Jan 8 09:02:14 EST 2009


Ah, the bean name is the same, while the JNDI name is not.
<?xml version="1.0" encoding="UTF-8"?>
  | <server>
  |    <mbean code="org.jboss.mq.server.jmx.Queue"
  |       name="jboss.mq.destination:service=Queue,name=queuetest">
  |       <attribute name="JNDIName">queue/inflowmdbtest</attribute>
  |       <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
  |    </mbean>
  | </server><?xml version="1.0" encoding="UTF-8"?>
  | <server>
  |    <mbean code="org.jboss.mq.server.jmx.Queue"
  |       name="jboss.mq.destination:service=Queue,name=queuetest">
  |       <attribute name="JNDIName">queue/mdbtest</attribute>
  |       <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
  |    </mbean>
  | </server>

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200345#4200345

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200345



More information about the jboss-dev-forums mailing list