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

clebert.suconic@jboss.com do-not-reply at jboss.com
Fri Apr 17 13:14:42 EDT 2009


as we talked through IRC, I'm placing back the JMS properties:

I have created two properties:

- JMS_JBM_InputStream - The InputStream
- JMS_JBM_OutputStream - The OutputStream


And a third one, that I need to find a better name, and decide if I will keep it or not:

- JMS_JBM_SaveStream - The OutputStream, but blocking on set


With this third property I won't need to do a cast to JBossMessage to wait completion on cases where the user needs to for instance close the connection right after the message was received.


If we take out that property, the user will need to do things like:

((JBossMessage)rm).waitCompletionOnStream(10000);


As It's done on the LargeMessageExample now.


Any thoughts... any idea for a better name on the jms-property?

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

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



More information about the jboss-dev-forums mailing list