[
https://jira.jboss.org/jira/browse/JBIDE-3760?page=com.atlassian.jira.plu...
]
Noel Rocher commented on JBIDE-3760:
------------------------------------
yep.
Here is an example of the provider part of an esb service jboss-esb.xml with several
jms-bus
==================
<providers>
<jms-provider name="JBossMQ"
connection-factory="ConnectionFactory">
<jms-bus busid="quickstartGwChannel">
<jms-message-filter dest-type="QUEUE"
dest-name="queue/quickstart_Business_Rules_Request_GW" />
</jms-bus>
<jms-bus busid="quickstartEsbChannel">
<jms-message-filter dest-type="QUEUE"
dest-name="queue/quickstart_Business_Rules_Request_ESB" />
</jms-bus>
<jms-bus busid="Business_Rules_ConciergeManager">
<jms-message-filter dest-type="QUEUE"
dest-name="queue/quickstart_Business_Rules_ConciergeManager" />
</jms-bus>
<jms-bus busid="Business_Rules_DistributionManager">
<jms-message-filter dest-type="QUEUE"
dest-name="queue/quickstart_Business_Rules_DistributionManager" />
</jms-bus>
<jms-bus busid="Business_Rules_BasicShipping">
<jms-message-filter dest-type="QUEUE"
dest-name="queue/quickstart_Business_Rules_BasicShipping" />
</jms-bus>
</jms-provider>
</providers>
===============
And here is tthe jbossmessaging-service.xml that could be generated from this:
===============
<?xml version="1.0" encoding="UTF-8"?>
<server>
<mbean code="org.jboss.jms.server.destination.QueueService"
name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_Business_Rules_Request_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=quickstart_Business_Rules_Request_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=quickstart_Business_Rules_ConciergeManager"
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=quickstart_Business_Rules_DistributionManager"
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=quickstart_Business_Rules_BasicShipping"
xmbean-dd="xmdesc/Queue-xmbean.xml">
<depends
optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
<depends>jboss.messaging:service=PostOffice</depends>
</mbean>
</server>
===============
Generate jbm destination file from service
------------------------------------------
Key: JBIDE-3760
URL:
https://jira.jboss.org/jira/browse/JBIDE-3760
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: esb
Reporter: Noel Rocher
Priority: Optional
Could be useful to provide a mean to generate jbossmessaging destination files from the
jboss-esb.xml definition also with deployment dependencies.
Should ask in which project directory to put these generated files
--
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