Hi,
I have in my RouteBuilder something like this:
public class MyRouteBuilder extends RouteBuilder{
private static final String
IN_QUEUE="activemq:myqueue.in?messageConverter=#myMessageConverter";
@Override
public void configure(){
from(IN_QUEUE).choice()
.when(header("JMSType"
o the trick...
>
> Regards,
>
> *Raúl Kripalani*
> Principal Consultant | FuseSource Corp.
> r...@fusesource.com | fusesource.com <http://www.fusesource.com/> skype:
> raul.fuse | twitter: @raulvk <http://twitter.com/raulvk>,
> @fusenews<http://twitter.com/fu
;http://twitter.com/fusenews>
<http://twitter.com/fusenews>[https://lh5.googleusercontent.com/FtWGS-Np44GiGrbOxzPTLP36lGYg7OLUXIS4epPskvR8d-P-V9ZYOK4rk_fr1bLlg46LueGCaTREPaVJLAse68za4wY3uF_dhZjp3Be3qRoRXiSUrWY]
On 23 March 2012 17:50, Xuan Huang
mailto:xuan.hu...@gamesys.co.uk>> wrote:
Hi
Hi all,
What I'm trying to do is to authenticate a message before sending it to be
processed using message filter, so I have something like
.filter().method(MyAuthenticator.class, "isAuthenticated")
However in my route builder, I also route the messages based on their types
using choice. So f
e predicate inside the filter as a parameter then it
> helps the DSL as well.
>
> filter( )
>
> instead of
>
> filter().()
>
>
>
> On Thu, Apr 19, 2012 at 7:06 PM, Xuan Huang wrote:
>> Hi all,
>>
>> What I'm trying to do is to