On 01/22/2015 05:44 AM, bansalp wrote:
I added following config
<amq:transportConnector name="StompTransport"
uri="stomp://0.0.0.0:61613?wireFormat.maxFrameSize=209715200" />

and tried to send a messaage of 150 MB, it failed with following message

Failed to send the message on '/queue/testDSize.0' (error: ***
Net::STOMP::Client::IO::send_data(): cannot syswrite(): Broken pipe); will
try to failover and resend
[20150122 16:05:26.335 XYZ::Net::Stomp::_failover_to_new_broker():939 WARN]
Failing over to the new broker with the uri:
failover://(stomp://localBroker:61613)?maxReconnectAttempts=360&maxReconnectDelay=5000&initialReconnectDelay=1000&randomize=false&

(Only one broker was running)



--
View this message in context: 
http://activemq.2283324.n4.nabble.com/Send-large-message-using-STOMP-producer-to-ActiveMQ-broker-tp4690095p4690244.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

You might want to look at the broker logs and see if there are any hints there as to why the connection failed.

--
Tim Bish
Sr Software Engineer | RedHat Inc.
[email protected] | www.redhat.com
skype: tabish121 | twitter: @tabish121
blog: http://timbish.blogspot.com/

Reply via email to