Discussion:
browse functionality for jms queue
David Dossot
2012-07-09 23:02:47 UTC
Permalink
What's the status of this? Is it working?

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email
riba riba
2012-07-11 12:40:46 UTC
Permalink
hi,
<br />
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
David Dossot
2012-07-11 18:03:46 UTC
Permalink
There's no correct way, just different approaches.
<br /><br />
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
riba riba
2012-07-12 09:12:47 UTC
Permalink
yes , just as I get some time .. I will be going back to this.in the meanwhile I have done the following :
<br /><br />
The slice of config is:
<br />
<code>
<br />
&lt;when expression=&quot;SB_SEND_MESSAGE&quot; evaluator=&quot;custom&quot;
<br />
custom-evaluator=&quot;DefaultRequestProcessor&quot;&gt;
<br />
&lt;processor-chain&gt;
<br />
&lt;component class=&quot;unisys&#46;ciims&#46;poc&#46;mule&#46;processor&#46;SendMessageProcessor&quot;
<br />
doc:name=&quot;SendMessageProcessor&quot; &#47;&gt;
<br />
&lt;&#47;processor-chain&gt;
<br />
&lt;&#47;when&gt;
<br />
&lt;when expression=&quot;SB_RECEIVE_MESSAGE&quot; evaluator=&quot;custom&quot;
<br />
custom-evaluator=&quot;DefaultRequestProcessor&quot;&gt;
<br />
&lt;processor-chain&gt;
<br />
&lt;component class=&quot;unisys&#46;ciims&#46;poc&#46;mule&#46;processor&#46;ReceiveMessageProcessor&quot;
<br />
doc:name=&quot;ReceiveMessageProcessor&quot; &#47;&gt;
<br />
&lt;&#47;processor-chain&gt;
<br />
&lt;&#47;when&gt;
<br />
&lt;when expression=&quot;SB_BROWSE_MESSAGE&quot; evaluator=&quot;custom&quot;
<br />
custom-evaluator=&quot;DefaultRequestProcessor&quot;&gt;
<br />
&lt;processor-chain&gt;
<br />
&lt;component class=&quot;unisys&#46;ciims&#46;poc&#46;mule&#46;processor&#46;BrowseMessageProcessor&quot;
<br />
doc:name=&quot;BrowseMessageProcessor&quot; &#47;&gt;
<br />
&lt;&#47;processor-chain&gt;
<br />
&lt;&#47;when&gt;
<br />
:
<br />
:
<br />
:
<br />
&lt;&#47;choice&gt;
<br />
&lt;outbound-endpoint address=&quot;&#46;&lt;connector&gt;:localhost:22001&quot;
<br />
doc:name=&quot;Outbound&quot; &#47;&gt;
<br />
</code>
<br /><br />
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

Loading...