Discussion:
Why http inbound (request-response) with JMS too slow.
Pablo La Greca
2012-06-27 16:48:55 UTC
Permalink
Hi,
<br /><br />
Your request-reply configuration doesn't make sense. If you want to sent a message through jms and read it with your mule app you must have another flow with an inbound endpoint reading in the jms queue you are putting the message.
<br /><br />
So, you should have something like:
<br /><br />
<code>
<br />
&lt;flow name=&quot;flows1Flow1&quot; doc:name=&quot;flows1Flow1&quot;&gt;
<br />
&lt;http:inbound-endpoint exchange-pattern=&quot;request-response&quot; host=&quot;localhost&quot; port=&quot;8090&quot; path=&quot;GETY&quot; transformer-refs=&quot;TheRequest&quot; responseTransformer-refs=&quot;TheResponse&quot; keep-alive=&quot;true&quot; doc:name=&quot;HTTP&quot;&#47;&gt;
<br />
&lt;jms:outbound-endpoint queue=&quot;eir&quot;&#47;&gt; &lt;!-- default MEP for jms is one-way--&gt;
<br />
&lt;&#47;flow&gt;
<br /><br />
&lt;flow name=&quot;flowProcessingJmsMessage&quot;&gt;
<br />
&lt;jms:inbound-endpoint queue=&quot;eir&quot;&#47;&gt;
<br />
&lt;http:outbound-endpoint exchange-pattern=&quot;one-way&quot; address=&quot;http:&#47;&#47;localhost&#47;test&#47;dump&#46;php&quot; mimeType=&quot;text&#47;plain&quot; doc:name=&quot;HTTP&quot;&#47;&gt;
<br />
&lt;&#47;flow&gt;
<br />
</code>
<br /><br />
HTH, Pablo.

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

http://xircles.codehaus.org/manage_email

Loading...