[overlord-issues] [JBoss JIRA] Commented: (SOAG-95) Missing to generate the default reply queue in the jbmq-queue-service.xml

Jeff Yu (JIRA) jira-events at lists.jboss.org
Mon Mar 16 23:31:22 EDT 2009


    [ https://jira.jboss.org/jira/browse/SOAG-95?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12457585#action_12457585 ] 

Jeff Yu commented on SOAG-95:
-----------------------------

Right now, in the SendMessageAction, we also support the implicit response service category/name. 

In the purchase example, a snippet of the jboss-esb.xml is as following:

                <action name="s5" process="process" class="org.jboss.soa.overlord.jbossesb.stateless.actions.SendMessageAction">
                    <property name="operation" value="buy"/>
                    <property name="messageType" value="BuyConfirmed"/>
                    <property name="clientRole" value="Buyer"/>
                </action>

By default, the Buyer role's reply queue is: sent queue + _reply. And that leads me to wonder whether we always add a default reply queue in the jbmq queue configuration file.
I just checked the stateful approach that we built, it didn't generate the default reply queue either. You are right, this should not be an issue.


> Missing to generate the default reply queue in the jbmq-queue-service.xml
> -------------------------------------------------------------------------
>
>                 Key: SOAG-95
>                 URL: https://jira.jboss.org/jira/browse/SOAG-95
>             Project: SOA Governance
>          Issue Type: Task
>      Security Level: Public(Everyone can see) 
>          Components: Tooling
>    Affects Versions: 1.0 MR1
>            Reporter: Jeff Yu
>            Assignee: Gary Brown
>             Fix For: 1.0 MR2
>
>
> In the current stateless actions generation mechanism, it doesn't generate the 'reply' queue, so it will cause the problem if it is request-response MEP. Because in JBoss ESB, its default reply queue is: whatevername_reply. 
> like:
> 	<mbean code="org.jboss.mq.server.jmx.Queue"
> 			name="org.pi4soa.purchase.purchasegoods.destination:service=Queue,name=org_pi4soa_purchase_purchasegoods_PurchaseGoodsProcess_Store">
> 		<depends optional-attribute-name="DestinationManager">
> 			jboss.mq:service=DestinationManager
> 		</depends>
> 	</mbean>
> The Reply queue should be:
> 	<mbean code="org.jboss.mq.server.jmx.Queue"
> 			name="org.pi4soa.purchase.purchasegoods.destination:service=Queue,name=org_pi4soa_purchase_purchasegoods_PurchaseGoodsProcess_Store_reply">
> 		<depends optional-attribute-name="DestinationManager">
> 			jboss.mq:service=DestinationManager
> 		</depends>
> 	</mbean>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the overlord-issues mailing list