Hi, Try using Stomp protocol over NIO transport.For better scalability (and performance) you might want to run Stomp protocol over NIO transport. To do that just use stomp+nio transport prefix instead of stomp.
For example, add the following transport configuration stompConnector = broker.addConnector("stomp+nio://localhost:61612") This transport use NIO transport underneath and will generally use much less threads than standard connector. This connector can help if you want to use large number of queues I don't know this will help you or not but just give a try For info please refer this link http://activemq.apache.org/stomp.html Cheers!!! Bharath.R -- View this message in context: http://camel.465427.n5.nabble.com/STOMP-Exception-The-maximum-command-length-was-exceeded-tp5738017p5738019.html Sent from the Camel - Users mailing list archive at Nabble.com.