Yes!! It works. Thanks to all who have helped me solve this issue!
Aaron Crickenberger wrote:
>
>
> On Jan 31, 2008, at 10:54 AM, Stephen J wrote:
>
>> /*I don't know how to get camel to give me the transaction
>> template
>> from the camel-context.xml */
>> Policy required = new
>> SpringTransactionPolicy("myInjectedTransactionTemplate"));
>
> Does this work?
>
> TransactionTemplate template =
> getContext().getRegistry().lookup("myInjectedTransactionTemplate");
>
> - aaron
>
>
--
View this message in context:
http://www.nabble.com/JMS-Transactions---How-To-tp15168958s22882p15208590.html
Sent from the Camel - Users mailing list archive at Nabble.com.