Forum Home » Fuse Distributions » Fuse Services Framework

Thread: Bean condition check

 

Permlink Replies: 1 - Last Post: Mar 8, 2012 10:14 AM Last Post By: davsclaus
gauthamr7657

Posts: 22
Registered: 02/09/12
Bean condition check
Posted: Mar 8, 2012 6:17 AM
  Click to reply to this thread Reply
Hi,

I am kind of new to fuse, so i am stuck up in the following:
There is a bean class which returns me a boolean value which i have to check and route the message obtained from an xsl transformer to a queue.
Can someone please let me know how to do that in the route

Regards,
Gautham
davsclaus

Posts: 1,893
Registered: 10/14/08
Re: Bean condition check
Posted: Mar 8, 2012 10:14 AM   in response to: gauthamr7657 in response to: gauthamr7657
  Click to reply to this thread Reply
You mean something like the Content Based Router
http://fusesource.com/docs/router/2.8/eip/MsgRout-ContentBased.html

Where you can use the bean as a predicate in a when?