Grokbase Groups Camel users May 2008
FAQ
it has been asked many times here, but i still can't get it working :(.

so i've set up a small route


<camel:camelContext id="camel">
<camel:route>
<camel:from uri="blah:queue:test1"/>
<camel:process ref="oneWayRestrictingProcessor"/>
<camel:bean ref="server" />
</camel:route>
</camel:camelContext>

<bean id="oneWayRestrictingProcessor"
class="com.my.server.OneWayRestrictingProcessor"/>


where "blah" is my server JmsComponent and the referenced processor does a
very simple thing (which was advised somewhere in a dedicated topic here):


public void process(Exchange arg0) throws Exception {
((DefaultExchange)arg0).setPattern(ExchangePattern.InOnly);
}


the client context is very simple:


<camel:proxy id="server"
serviceInterface="com.my.server.Server"
serviceUrl="jms:queue:test1" />



i just get this bean and invoke the exposed methods. and still the client is
blocked (i've put some Thread.sleep and system.out calls in the server
methods to check this) on each invocation, even that the exposed methods are
void. what do i do wrong?
--
View this message in context: http://www.nabble.com/asynchronous-invocations-tp17364369s22882p17364369.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 2 | next ›
Discussion Overview
groupusers @
categoriescamel
postedMay 21, '08 at 5:09p
activeMay 27, '08 at 8:25p
posts2
users2
websitecamel.apache.org

2 users in discussion

Hiram Chirino: 1 post Konkere: 1 post

People

Translate

site design / logo © 2022 Grokbase