-
1. Re: Service Invoker deliverSync failing - no defined queue with name <request_queue_name>_reply
svejk Oct 12, 2011 4:33 PM (in response to kotaris)Hi,
have you deployed the JMS queue with the name mentioned in the error message?
If not, you need to add a declaration to your deployment descriptor for JBoss Messaging
or HornetQ (depending on your JBoss AS version, 5.x ships with JBM, 6.x with HornetQ).
These files are usually named jbm-queue-service.xml and hornetq-jms.xml for JBM and HornetQ,
respectively.
Sven-Jørgen
-
2. Re: Service Invoker deliverSync failing - no defined queue with name <request_queue_name>_reply
kotaris Oct 12, 2011 7:06 PM (in response to svejk)I deployed both the queue/test_gw and queue/test_esb, it is working with deliverAsync.
It is failing with deliverSync. Should i deploy the default jms reply queue's also? I have not seen any examples with synchronus esb messages all examples are with deliverAsync.
-
3. Re: Service Invoker deliverSync failing - no defined queue with name <request_queue_name>_reply
kotaris Oct 13, 2011 9:43 AM (in response to kotaris)Finally It worked. For synchronous delivery using service invoker we need to define and deploy the default <request_queue_name>_reply queues also.
In ESB in deployment.xml declare -
<
>
<
>
<
>
<
>
<
>
</
>
and in the server test-queue-service.xml -
<mbean code="org.jboss.jms.server.destination.QueueService"
name="jboss.esb.quickstart.destination:service=Queue,name=test_gw"
xmbean-dd="xmdesc/Queue-xmbean.xml">
<depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
<depends>jboss.messaging:service=PostOffice</depends>
</mbean>
<mbean code="org.jboss.jms.server.destination.QueueService"
name="jboss.esb.quickstart.destination:service=Queue,name=test_esb"
xmbean-dd="xmdesc/Queue-xmbean.xml">
<depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
<depends>jboss.messaging:service=PostOffice</depends>
</mbean>
<mbean code="org.jboss.jms.server.destination.QueueService"
name="jboss.esb.quickstart.destination:service=Queue,name=test_gw_reply"
xmbean-dd="xmdesc/Queue-xmbean.xml">
<depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
<depends>jboss.messaging:service=PostOffice</depends>
</mbean>
<mbean code="org.jboss.jms.server.destination.QueueService"
name="jboss.esb.quickstart.destination:service=Queue,name=test_esb_reply"
xmbean-dd="xmdesc/Queue-xmbean.xml">
<depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
<depends>jboss.messaging:service=PostOffice</depends>
</mbean>
Thanks