activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markus Eisele <eisele.mar...@gmail.com>
Subject Re: Resource adapter question / with WildFly 8.1
Date Tue, 09 Sep 2014 08:18:40 GMT
That isn't really working. I enabled a bunch of more debugging but
it's not really obvious to me.

Find latest logs here https://gist.github.com/myfear/03c0937a57aa3ad9906d
and the updated source: https://github.com/myfear/wildflyamq

Thanks for some ideas,
- M

On 8 September 2014 21:10, John D. Ament <john.d.ament@gmail.com> wrote:
> 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.markus@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.ament@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.markus@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
>> >>
>>

Mime
View raw message