"plesur" wrote :
| with initialized i mean a new created empty bytearray in the size of the
Bytemessage's payload:
| byte[] payload = new byte[(int)bytesmessage.getBodyLength()];
|
| with:
| bytesmessage.readBytes(payload);
| it should be filled - this is what didn't work for me on a >redelivered
message<.
Ok, we're on the same page.
This is indeed weird. We have a JUnit test BytesMessageTest.testRedelivery() which checks
this use case and this test pass for JBM 1.4.0.SP3.
Our test does not use a MessageListener but I don't think it'd affect the message
behaviour.
Can you write a unit test which reproduces your problem in your environment?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4145187#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...