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

Reply via email to