2008/4/28 Martin Gilday <[EMAIL PROTECTED]>:
> That doesn't seem to work, get an OUT Message not received timeout.
>
> This did though:
> public class InOnlySettingProcessor implements Processor {
>
> /* (non-Javadoc)
> * @see org.apache.camel.Processor#process(org.apache.camel.Exchange)
> */
> public void process(final Exchange exchange) throws Exception {
> ((DefaultExchange)exchange).setPattern(ExchangePattern.InOnly);
>
> }
>
> }
This is what I wanted to write actually, but forgot that setPattern is
a method on DefaultExchange. This is the result of answering mails
without IDE or JavaDoc ;)
Sorry for confusion ;)
Roman