[jboss-user] [JBoss Messaging] - Re: JBM2 Beta5 with JBAS5.1 - Memory leak SessionContinuatio

simon_temple do-not-reply at jboss.com
Fri Aug 21 10:26:38 EDT 2009


>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#4250907

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



More information about the jboss-user mailing list