get Broker from ActiveMQConnectionFactory?

2009-01-07 Thread silver1
Hi, I have a standalone ActiveMQ-Broker (started with activemq.bat). In my code i use following: ActiveMQConnectionFactory cf = new ActiveMQConnectionFactory(prop.getProperty("TCP")); ActiveMQConnectionconnection = (ActiveMQConnection)cf.createConnection(); ActiveMQConnection connect

Re: Objectmessage max size, how can i change it?

2008-12-23 Thread silver1
Ah, thank you :) The maximum size of a Objectmessage is the maximum available memory space? James.Strachan wrote: > > That looks like you're out of heap space - try increasing the JVM's heap > > 2008/12/23 silver1 : >> >> Hi, >> >> what is t

Objectmessage max size, how can i change it?

2008-12-23 Thread silver1
Hi, what is the maximum size of a objectmessage for sending over a ssl-protocoll? Is it 20 MB? Can I modify the size? I have tested (ApacheMQ Version 5.2) with a File (~ 25 MB) and get the following Error: Exception in thread "main" java.lang.OutOfMemoryError: Java heap space at org.apache.acti

Re: JMS-ObjectMessage over HTTP?? (5.2.0)

2008-12-22 Thread silver1
Hi, have you a small example how i can setup a http master/slave connection? looks like you have a master slave setup but using tcp as the transport so you either need to have a http master/slave connection or also leave the tcp connector configured. -- View this message in context: http://w