Use 2 Layers (JVMs) - one is a producer on queue and
the other is a consumer
on a transacted session.
Send few persistent messages.
The consumer receives the messages, than the session
rollbacks and the
consumer try to receive redelivered messages.
This result in redelivered corrupted messages - The
properties service name
and agent name are null.
In our tester we clear properties when we receive the
message but when doing
rollback we suppose to get the original message but
instead we get null
Original persistent message -
b ( q1 ) : ( BytesMessage ) 1-getAcknowledgeMode test
After Rollback -
null ( null ) : ( BytesMessage ) 1-getAcknowledgeMode
Log in to post a comment.