This content has been marked as final.
Show 2 replies
-
1. Re: Configuring JMS
beve Nov 2, 2007 6:13 AM (in response to haagenhasle)Hi Haagen,
I've just tried this with the helloworld quickstart. I modified the jboss-esb.xml file to look like this:<jms-bus busid="quickstartGwChannel"> <jms-message-filter dest-type="QUEUE" dest-name="queue/quickstart_helloworld_Request_gw" persistent="false" /> </jms-bus> <jms-bus busid="quickstartEsbChannel"> <jms-message-filter dest-type="QUEUE" dest-name="queue/quickstart_helloworld_Request_esb" persistent="false" /> </jms-bus>
If you run 'ant deploy' followed by 'ant runtest' and watch the servers console it should print out:11:05:08,353 INFO [STDOUT] [ message: [ JBOSS_XML ] header: [ To: JMSEpr [ PortReference < <wsa:Address jms://localhost/queue/quickstart_helloworld_Request_esb/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.initial : org.jnp.interfaces.NamingContextFactory/>, <wsa:ReferenceProperties jbossesb:java.naming.provider.url : jnp://127.0.0.1:1099/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.url.pkgs : org.jboss.naming:org.jnp.interfaces/>, <wsa:ReferenceProperties jbossesb:destination-type : queue/>, <wsa:ReferenceProperties jbossesb:specification-version : 1.1/>, <wsa:ReferenceProperties jbossesb:connection-factory : ConnectionFactory/>, <wsa:ReferenceProperties jbossesb:persistent : false/>, <wsa:ReferenceProperties jbossesb:acknowledge-mode : 1/> > ] MessageID: ID:JBM-12294 RelatesTo: jms:correlationID#ID:JBM-13312 ] context: [ ] body: [ objects: {org.jboss.soa.esb.message.defaultEntry=Hello World, org.jboss.soa.esb.message.defaultEntry-set-stack=java.lang.Exception: setPayload stack trace for 'org.jboss.soa.esb.message.defaultEntry'.} ] fault: [ ] attachments: [ Named:{}, Unnamed:[] ] properties: [ {org.jboss.soa.esb.message.time.dod=Fri Nov 02 11:05:08 CET 2007, org.jboss.soa.esb.message.time.dob=Fri Nov 02 11:05:08 CET 2007, org.jboss.soa.esb.message.source=PortReference < jms://localhost/queue/quickstart_helloworld_Request_esb >, org.jboss.soa.esb.message.transport.type=JMS, org.jboss.soa.esb.gateway.original.queue.name=queue/quickstart_helloworld_Request_gw} ] ]
I ran this with the esb server created by runnint 'ant dist' in the project folder of a checked out copy of the trunk. Could you try this?
I might be the case that you have an older version of jbossesb-config-model.jar in you deploy/jbossesb.sar/lib directory.
Regards,
Daniel -
2. Re: Configuring JMS
haagenhasle Nov 2, 2007 7:32 AM (in response to haagenhasle)It didn't work in 4.2GA, but I tried it again now, with 4.2.1GA, and it seems to work now! So that's great, one thing of my mind! :-)
Thanks for your help!
Regards, Haagen