JMS is just an API, not a wire protocol. Every message broker has its own implementation of a connection factory and com.sun.messaging.ConnectionFactory is for Glassfish and won't work with ActiveMQ, or any other message broker. ActiveMQ uses the OpenWire protocol so you need a connection factory that will send OpenWire commands.
On Thu, Oct 15, 2015 at 10:48 AM, gerardl <[email protected]> wrote: > Thanks Christopher. > > Can you indicate why the com.sun.messaging.ConnectionFactory will not work > against ActiveMQ? > > I see it try to create a connection to active MQ and on the ActiveMQ side > is > shows a corresponding error: > > Transport Connection to: tcp://127.0.0.1:58473 failed: > java.io.IOException: > Frame size of 787 MB larger than max allowed 100 MB > > In this context I have tried to send a short string across the wire. Seems > like ActiveMQ is getting confused and cannot potentially interpret the > incoming message? > > Thanks, > Ger. > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/com-sun-messaging-ConnectionFactory-and-ActiveMQ-tp4702958p4703001.html > Sent from the ActiveMQ - Dev mailing list archive at Nabble.com. >
