From my jbm-jms.xml
<connection-factory name="SocketConnectionFactory">
| <connector-ref connector-name="netty"/>
| <entries>
| <entry name="ConnectionFactory"/>
| <entry name="XAConnectionFactory"/>
| </entries>
| <!-- 128K chunk size for large messages -->
| <min-large-message-size>131072</min-large-message-size>
| <!-- Set the consumer window size to 512K to limit the size of the buffer on the
client side -->
| <consumer-window-size>524288</consumer-window-size>
| </connection-factory>
|
I'm creating a bytes message, adding my buffered stream to it:
bytesMessage.setObjectProperty( "JMS_JBM_InputStream", pin );
then calling:
producer.send( bytesMessage, deliveryMode, priority, timeToLive );
Many Thanks
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4250907#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...