Hi,
I have this situation on servicemix 3.3.1, on jdk 1.5, on linux.

I have a first class that extends the PollingEndpoint. When a file is found
a new InOnly MessageExchange is created in the poll method and this exchange
is sent with the send() method to another class that extends
ProviderEndpoint.
The first endpoint produces many MessageExchange and I'd like these to start
being processed as soon as possibile.

What I found out with a couple of breakpoints is that the method
processInOnly() of the second ProviderEndpoint is not called until the
poll() method of the first endpoint does not return (I do not know exactly
how up in the stack).

Is this the expected behaviour? Should I configure someway the first or
second endpoint for the delivery to be asynchronous?

In this doc

http://servicemix.apache.org/servicemix-jms-new-endpoints.html

I found a reference to the synchronous attribute of the endpoint. Is it
relevant? On which side should be applied?


Thanks in advance, bye


Lorenzo

Reply via email to