Ah-ha!

you're invoking on line 51 outside of a transaction
https://github.com/myfear/wildflyamq/blob/master/wildflymdb-ejb/src/main/java/net/eisele/ee7/mdb/MessageProducer.java#L51
I know you'll want to say you annotated it transactional, but that doesn't
work when you're calling it locally.  Can you try using a delegate?

On Mon, Sep 8, 2014 at 3:01 PM, Markus Eisele <eisele.mar...@gmail.com>
wrote:

> Hi John,
>
> implicitly ... it is done in the EJB container ...
>
> https://github.com/myfear/wildflyamq/blob/master/wildflymdb-ejb/src/main/java/net/eisele/ee7/mdb/MessageProducer.java
>
> Thanks,
> Markus
>
> On 8 September 2014 19:50, John D. Ament <john.d.am...@gmail.com> wrote:
> > Markus,
> >
> > Based on your stack trace, looks like HornetQ's bridge isn't
> participating
> > in a transaction.  Are you explicitly or implicitly starting one?
> >
> > John
> >
> > On Mon, Sep 8, 2014 at 1:46 PM, Markus Eisele <eisele.mar...@gmail.com>
> > wrote:
> >
> >> Hi,
> >>
> >> I've been looking into configuring WildFly 8.1 with ActiveMQ Resource
> >> Adapter lately and got everything up and running.
> >> I could produce messages from Java EE components (aka EJBs via
> >> JMS-Bridge) and also could consume messages via MDBs.
> >> During sending messages via the bridge I encountered a warning I can't
> >> get rid of.
> >> Appreciate any ideas/hints.
> >>
> >> HQ122009: JMS Bridge failed to send + acknowledge batch
> >> https://gist.github.com/myfear/03c0937a57aa3ad9906d
> >>
> >> Thanks,
> >> Markus
> >>
>

Reply via email to