This content has been marked as final.
Show 2 replies
-
1. Re: Writing a transform class that discards/drops messages
clebert.suconic Oct 12, 2011 4:23 PM (in response to bnc119)You can do that on interceptors, not on transformer.
-
2. Re: Writing a transform class that discards/drops messages
clebert.suconic Oct 12, 2011 4:25 PM (in response to clebert.suconic)However, that seems an easy fix...
The only places Transofmer is used is on DivertImpl and BridgeImpl...
You could maybe change the code to do this on DiverIMpl:
On DiverImpl:;route
if (transformer != null)
{
copy = transformer.transform(copy);
}
if (copy != null)
{
postOffice.route(copy, context.getTransaction(), false);
}
On The Bridge.. we probably need some tweak as we need to make sure the message would be acked.
Maybe you could add a JIRA?