[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: Large messages broken

timfox do-not-reply at jboss.com
Fri Apr 17 05:56:50 EDT 2009


I have spent  a couple of hours this morning finishing off the LargeMessageExample:

1) The explanation in the readme was very poor. The standard of documentation really needs to rise.
2) The example didn't output much so it was hard to see if anything was happening
3) I limited *both* the client *and* the server to run in 50MB as we discussed previously.
4) I changed the message size to 256MB since we are running in a server with 50MB and want the example to run more quickly.
5) The header comment in the example was for a different example
6) The readme steps did not match the code.
7) I added a step to stop and start the server so we can demonstrate the large message survives a restart.

Some other questions:

a) why the casting to get the input and outputstream - I thought you were going to allow these to be set via a JMS_JBM jms property as we discussed?

b) Is setting Input and Ouput streams only allowed on BytesMessage s ? If not, why are you using a BytesMessage.

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4226137#4226137

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4226137



More information about the jboss-dev-forums mailing list