I am using smack 4.1.3 library ..
when i used normal TCP connection message sending and receiving is very fast.
for our requirement we started using Bosh Connection, where sending message is very slow..
we tried same server with gajim client its worked fine..
in bosh connection connecting to server or file transfer is normal as tcp..
but coming to messaging sending,it is very slow as it is taking 1min to reach the server...
on checking jbosh we came to know that he allowed to send max requests are 2..
if send more than two messages the thread is hanging..
even though first two message executing properly,those are not reaching server quickly..