Revisiting this topic...

On Sun, Mar 24, 2013 at 10:21 AM, Romain Manni-Bucau
<[email protected]>wrote:

> I'd use 1 + SUPPORTS but 2 works fine too
>


> Le 24 mars 2013 15:01, "almos" <[email protected]> a écrit :
>
> >
> > 1) TransactionManagement=CMT + TransactionAttribute=NOT_SUPPORTED
> > 2) TransactionManagement=BMT
>

So, I marked my MDBs with the following:

TransactionManagement=CMT + TransactionAttribute=NOT_SUPPORTED
TransactionManagement=CMT + TransactionAttribute=SUPPORTS
TransactionManagement=CMT + TransactionAttribute=REQUIRED

and i still get the following in the log:

May 07, 2013 1:27:00 AM org.apache.geronimo.connector.work.WorkerContext run
INFO: Removing non-required WorkContextHandler with no context:
org.apache.geronimo.connector.work.TransactionContextHandler@34a72c6
May 07, 2013 1:27:00 AM org.apache.geronimo.connector.work.WorkerContext run
INFO: Removing non-required WorkContextHandler with no context:
org.apache.openejb.core.security.SecurityContextHandler@cb526da
May 07, 2013 1:27:00 AM org.apache.geronimo.connector.work.WorkerContext run
INFO: Removing non-required WorkContextHandler with no context:
org.apache.geronimo.connector.work.HintsContextHandler@1d3ee0cc

It would be nice to know how to prevent these lines showing up in the log
(every time a message is sent)..without using @Asynchronous methods. :)

Reply via email to