project_key: SOA There are several ways how to configure providers in jboss-esb.xml. Except for the "standard" way used in quickstarts, there is also another way described in Programmers Guide. It is not accurate at the moment and there is an issue logged in SOA-3108. However, the following setup is accepted by ESB: <jms-provider name="JBossMQ" connection-factory="ConnectionFactory"> <property name="connection-factory" value="ConnectionFactory" /> <property name="jndi-URL" value="jnp://localhost:1099" /> <property name="protocol" value="jms" /> <bus busid="quickstartGwChannel"> <property name="destination-type" value="queue" /> <property name="destination-name" value="queue/quickstart_helloworld_Request_gw" /> </bus> <bus busid="quickstartEsbChannel"> <property name="destination-type" value="queue" /> <property name="destination-name" value="queue/quickstart_helloworld_Request_esb" /> </bus> </jms-provider> ... <listeners> <listener name="JMS-Gateway" busidref="quickstartGwChannel" is-gateway="true" /> <listener name="helloWorld" busidref="quickstartEsbChannel" /> </listeners> 1) It is not possible to <provider> instead of <jms-provider> (validation error on deployment). 2) It is not possible to ommit connection-factory attribute in <jms-provider> tag even if there is a corresponding property. 3) To my surprise, setting jndi-URL using <property> tag works. 4) This configuration can be successfully deployed, but it does not receive any messages sent to the GW queue. Please note that XSD evrsion used is jbossesb-1.3.0.xsd (the lates I found in the distro).
Link: Added: This issue relates to JBESB-3697
Upgraded the examples in section 9.2 and 9.3 of the Programmer's Guide so that they contain valid configuration (<jms-bus>/<jms-provider). Previously they contained legacy configuration that no longer works. Talked to David about this one on irc and he said to make the changes in ESB and assign the issue over. tcunning@localhost:docs]$ svn commit Sending docs/Programmers_Guide/en-US/Configuration.xml Sending docs/Programmers_Guide/en-US/extras/configuration/Code_Example16.xmlt Adding docs/Programmers_Guide/en-US/extras/configuration/Code_Example21.xmlt Transmitting file data ... Committed revision 37506.
Release Notes Docs Status: Added: Not Required Writer: Added: dlesage
I have pulled in the changes Kevin made to the upstream version of the book.
Verified in http://documentation-stage-01.lab.eng.bne.redhat.com/docs/en-US/JBoss_Enterprise_SOA_Platform/5/html-single/ESB_Programmers_Guide.