RE: browse functionality for jms queue

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

RE: browse functionality for jms queue

Tashani Kathriarachchi
What's the status of this? Is it working? --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
Reply | Threaded
Open this post in threaded view
|

RE: browse functionality for jms queue

Tashani Kathriarachchi
hi,
actually no, have implemented the browse functionality by adding a choice and a corresponding java component to it. I do not know whether its a correct way of implementation though... --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
Reply | Threaded
Open this post in threaded view
|

RE: browse functionality for jms queue

Tashani Kathriarachchi
In reply to this post by Tashani Kathriarachchi
There's no correct way, just different approaches.

It is completely unclear to me why the "integrated" approach didn't work: did you step debug into your custom code in order to find why the queue was consumed instead of browsed? --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
Reply | Threaded
Open this post in threaded view
|

RE: browse functionality for jms queue

Tashani Kathriarachchi
In reply to this post by Tashani Kathriarachchi
yes , just as I get some time .. I will be going back to this.in the meanwhile I have done the following :

The slice of config is:

<when expression="SB_SEND_MESSAGE" evaluator="custom"
custom-evaluator="DefaultRequestProcessor">
<processor-chain>
<component class="unisys.ciims.poc.mule.processor.SendMessageProcessor"
doc:name="SendMessageProcessor" />
</processor-chain>
</when>
<when expression="SB_RECEIVE_MESSAGE" evaluator="custom"
custom-evaluator="DefaultRequestProcessor">
<processor-chain>
<component class="unisys.ciims.poc.mule.processor.ReceiveMessageProcessor"
doc:name="ReceiveMessageProcessor" />
</processor-chain>
</when>
<when expression="SB_BROWSE_MESSAGE" evaluator="custom"
custom-evaluator="DefaultRequestProcessor">
<processor-chain>
<component class="unisys.ciims.poc.mule.processor.BrowseMessageProcessor"
doc:name="BrowseMessageProcessor" />
</processor-chain>
</when>
:
:
:
</choice>
<outbound-endpoint address=".<connector>:localhost:22001"
doc:name="Outbound" />


the processors are POJO's that I have included for the respective functionalities.... --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email