2008/12/9 Ivan Dubrov <[EMAIL PROTECTED]>: > James Strachan wrote: >> The JMS endpoint uses whatever exchange pattern its given. For more >> background see >> http://activemq.apache.org/camel/exchange-pattern.html >> >> so you could explicitly configure the endpoint to use inOnly... >> >> <route> >> <from uri="jetty:http://localhost:8080/greeter"/> >> <to uri="activemq:queue:GREET?exchangePattern=InOnly" /> >> </route> >> >> >> >> > Does not work for me. I found that exchange passed to the > JmsProducer#exchange method (which posts message to the JMS queue) is > HttpExchange, which has ExchangePattern always set to InOut by > HttpExchange constructor. Therefore, JmsProducer#exchange method always > chooses to wait for the reply.
Damn! I guess the only option is the custom processor then - until we add explicit pattern methods to the DSL -- James ------- http://macstrac.blogspot.com/ Open Source Integration http://fusesource.com/
