sage(Unknown
> Source)
> at
>
> org.apache.activemq.ra.MessageEndpointProxy$MessageEndpointAlive.onMessage(MessageEndpointProxy.java:123)
> at
>
> org.apache.activemq.ra.MessageEndpointProxy.onMessage(MessageEndpointProxy.java:64)
> at
> org.apa
ed-to-DLQ-when-exception-thrown-by-MDB-tp4709187p4709451.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
message is not
redirected to the DLQ.
Regards Thomas
--
View this message in context:
http://activemq.2283324.n4.nabble.com/Message-not-redirected-to-DLQ-when-exception-thrown-by-MDB-tp4709187p4709554.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
.nabble.com/Message-not-redirected-to-DLQ-when-exception-thrown-by-MDB-tp4709187p4709308.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
on and in case of an exception I rollback the transaction before
the method is left.
Regards Thomas
--
View this message in context:
http://activemq.2283324.n4.nabble.com/Message-not-redirected-to-DLQ-when-exception-thrown-by-MDB-tp4709187p4709287.html
Sent from the ActiveMQ - User mai
d before that, "In a Java EE web or EJB
container, when there is an active JTA transaction in progress".
Can you confirm whether a JTA transaction is "in-progress"?
--
View this message in context:
http://activemq.2283324.n4.nabble.com/Message-not-redirected-to-DLQ-when-e
ption.
--
View this message in context:
http://activemq.2283324.n4.nabble.com/Message-not-redirected-to-DLQ-when-exception-thrown-by-MDB-tp4709187p4709252.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
are used and an exception occurs.
But this doesn't work with WildFly nor with WebLogic.
I hope it is clear now.
Thomas
--
View this message in context:
http://activemq.2283324.n4.nabble.com/Message-not-redirected-to-DLQ-when-exception-thrown-by-MDB-tp4709187p4709250.html
Sent from the Act
race level) that
will show enough detail on the client to track this down further.
--
View this message in context:
http://activemq.2283324.n4.nabble.com/Message-not-redirected-to-DLQ-when-exception-thrown-by-MDB-tp4709187p4709239.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
a WildFly
issue.
In any case IMHO acknowledging a message, when processing fails is not very
useful.
Thomas
--
View this message in context:
http://activemq.2283324.n4.nabble.com/Message-not-redirected-to-DLQ-when-exception-thrown-by-MDB-tp4709187p4709206.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
t not with WebLogic. Or it is a WildFly
issue.
In any case IMHO acknowledging a message, when processing fails is not very
useful.
Thomas
--
View this message in context:
http://activemq.2283324.n4.nabble.com/Message-not-redirected-to-DLQ-when-exception-thrown-by-MDB-tp4709187p4709206.html
. But then
there is no difference to the acknowledge mode /Dups-ok-acknowledge/. The
only mode, which may be helpful is /CLIENT_ACKNOWLEDGE/, but this is not
valid for MDB's.
Regards Thomas
--
View this message in context:
http://activemq.2283324.n4.nabble.com/Message-not-redirected-to-DLQ
gt; thrown to the container.
>
> When I do the same in WebLogic it works!
>
> I cannot use container managed transactions in my MDB. So is there a way to
> redirect the message to the DLQ when processing fails?
>
> Thomas
>
>
>
> --
> View this message in conte
managed transactions in my MDB. So is there a way to
redirect the message to the DLQ when processing fails?
Thomas
--
View this message in context:
http://activemq.2283324.n4.nabble.com/Message-not-redirected-to-DLQ-when-exception-thrown-by-MDB-tp4709187.html
Sent from the ActiveMQ - User mailing
14 matches
Mail list logo