I created a route that I was trying to use to filter messages from a
destination.
@Override
public void configure() throws Exception {
from(requestEndpoint).routeId(createRouteId())
.filter(body(String.class).contains(content))
.to(destinationEndpoint).end();
}
The route runs and broker dispatches and dequeues every message no
matter what and the route never places the message to its destination,
no matter what. I know I can check to see if there are matching but I
have not gotten around to putting in any of this logic to see if the
expression matched. Just wondering if anyone knows why this is happening
or if anyone seen this before.
Thanks
Chris Odom.