-
1. Re: Action not always called?
tcunning Sep 28, 2010 2:08 PM (in response to tmarks)Can you post your jboss-esb.xml?
-
2. Re: Action not always called?
tmarks Sep 28, 2010 2:47 PM (in response to tcunning)As requested, here is my jboss-esb.xml
<jbossesb xmlns="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.0.1.xsd" parameterReloadSecs="5">
<providers>
<jms-provider name="JBossMQ" connection-factory="ConnectionFactory">
<jms-bus busid="quickstartGwChannel">
<jms-message-filter
dest-type="QUEUE"
dest-name="queue/quickstart_helloworld_Request_gw"
/>
</jms-bus>
<jms-bus busid="quickstartEsbChannel">
<jms-message-filter
dest-type="QUEUE"
dest-name="queue/quickstart_helloworld_Request_esb"
/>
</jms-bus></jms-provider>
</providers><services>
<service
category="FirstServiceESB"
name="SimpleListener"
description="Hello World">
<listeners>
<jms-listener name="JMS-Gateway"
busidref="quickstartGwChannel"
is-gateway="true"
/>
<jms-listener name="helloWorld"
busidref="quickstartEsbChannel"
/>
</listeners>
<actions mep="OneWay">
<action name="action1"
class="org.jboss.soa.esb.samples.quickstart.helloworld.MyJMSListenerAction"
process="displayMessage"
/>
<action name="action1a"
class="org.jboss.soa.esb.samples.quickstart.helloworld.MyJMSAction"
process="displayMessage"
/>
<action name="action2" class="org.jboss.soa.esb.actions.SystemPrintln">
<property name="printfull" value="false"/>
</action>
<!-- The next action is for Continuous Integration testing -->
<action name="testStore" class="org.jboss.soa.esb.actions.TestMessageStore"/>
</actions>
</service>
</services></jbossesb>
-
3. Re: Action not always called?
hauch Sep 29, 2010 8:59 AM (in response to tmarks)Do you by any change have renamed the queues - are there more than one jms/esb endpoint on server:port/contract?
-
4. Re: Action not always called?
tmarks Sep 29, 2010 11:08 AM (in response to hauch)After changing the queue name, the action is called every time (as expected).
Thanks to Morten for the suggestion.