I am still getting the InvalidTransactionException. I think I should try some
other way to write the transaformer java code (not extending
MessageExchangelIstener). I am looking around for any document available on
the web with no luck. If someone will point me with any document or sample
code will be very helpful
 


gnanda wrote:
> 
> I appreciate all your help. I will take out DONE/ERROR part fo code from
> the bean and check if that InvalidTransactionException  goes away
> 
> 
> iocanel wrote:
>> 
>> 
>> iocanel wrote:
>>> 
>>> I made a mistake. The bean will not be sent the DONE / ERROR exchange,
>>> these are handled by the endpoint itself. Sorry about that :-( 
>>> 
>>> I will have a look at your source and let you know...
>>> 
>> 
>> I checked your router bean and I still see that you are excpecting that
>> after doing channel.send(exchange), you expect that it will return you
>> the result.
>> 
>> It doesn't work that way.
>> After send() there is nothing more to do inside your pojo.
>> 
>> 
>> 
>> 
>> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/smx4-javax.transaction.InvalidTransactionException%3A-tp28287860p28358825.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to