anonymous wrote : I can queue almost 3000 messages per minute!
That's great!
I should wait to tell you this.. but I can't wait! :-) We are working on JBM2, and on my poor Linux Laptop, using native LibAIO I'm doing 25000 persistent messages / second, on a size of 1K each one, which is pretty much my disk limit. We are now setting up a bigger hardware to do more tests. JBM 2 will rock in performance! :-)
Regarding the DLQ, have you configured the DLQ attributes? (MaxDeliveryAttempts, RedeliveryDelay and others things like that?)
Default configs at:
http://www.jboss.org/file-access/default/members/jbossmessaging/freezone/...
Also, look at queue configs at:
6.7.2.1.3. DLQ,
6.7.2.1.4. ExpiryQueue,
6.7.2.1.6. MaxDeliveryAttempts
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4145142#4145142
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4145142
"jmesnil" wrote :
| I'm not sure to follow you: you say that your 'payload' byte array is initialized with the content of the BytesMessage, right?
| If that's the case, it is the expected behavior.
|
| hope it helps,
| jeff
|
|
Hi Jeff,
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<.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4145141#4145141
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4145141
"plesur" wrote :
| But then calling bytesmessage.readBytes(payload) method on a redelivered BytesMessage results in a strange behavior (maybe only strange for me:) - the 'payload'-bytearray is still initialized although as I can see when I debug my project the JBossBytesMessage.payloadAsByteArray[] property (private) isn't empty and holds the right content.
|
I'm not sure to follow you: you say that your 'payload' byte array is initialized with the content of the BytesMessage, right?
If that's the case, it is the expected behavior.
hope it helps,
jeff
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4145138#4145138
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4145138