<div dir="ltr"><div>Hi Ben,</div>
<div> </div>
<div>The correct bytes were written to the delegate.writeByptes().</div>
<div> </div>
<div>Using ngrep, I see that the Flex client sends much less data to the server than the Java Client: </div>
<div> </div>
<div> </div>
<div>===========================Flex Client ===============================</div>
<div> </div>
<div>debian:/home/anne# ngrep port 5672<br>interface: eth0 (<a href="http://192.168.1.0/255.255.255.0">192.168.1.0/255.255.255.0</a>)<br>filter: (ip or ip6) and ( port 5672 )<br>########<br>T <a href="http://192.168.1.100:58513">192.168.1.100:58513</a> -> <a href="http://192.168.1.104:5672">192.168.1.104:5672</a> [AP]<br>
AMQP....<br>##<br>T <a href="http://192.168.1.104:5672">192.168.1.104:5672</a> -> <a href="http://192.168.1.100:58513">192.168.1.100:58513</a> [AP]<br> ...... ...........productS....RabbitMQ.versionS....1.4.0.platformS....Erlan<br>
g/OTP.copyrightS...gCopyright (C) 2007-2008 LShift Ltd., Cohesive Financial<br> Technologies LLC., and Rabbit Technologies Ltd..informationS...5Licensed u<br> nder the MPL. See <a href="http://www.rabbitmq.com/....PLAIN">http://www.rabbitmq.com/....PLAIN</a> AMQPLAIN....en_US.<br>
#####</div>
<div> </div>
<div> </div>
<div>====================Java Client =============================</div>
<div> </div>
<div><br>####<br>T <a href="http://192.168.1.100:58520">192.168.1.100:58520</a> -> <a href="http://192.168.1.104:5672">192.168.1.104:5672</a> [AP]<br> AMQP....<br>##<br>T <a href="http://192.168.1.104:5672">192.168.1.104:5672</a> -> <a href="http://192.168.1.100:58520">192.168.1.100:58520</a> [AP]<br>
...... ...........productS....RabbitMQ.versionS....1.4.0.platformS....Erlan<br> g/OTP.copyrightS...gCopyright (C) 2007-2008 LShift Ltd., Cohesive Financial<br> Technologies LLC., and Rabbit Technologies Ltd..informationS...5Licensed u<br>
nder the MPL. See <a href="http://www.rabbitmq.com/....PLAIN">http://www.rabbitmq.com/....PLAIN</a> AMQPLAIN....en_US.<br>#<br>T <a href="http://192.168.1.100:58520">192.168.1.100:58520</a> -> <a href="http://192.168.1.104:5672">192.168.1.104:5672</a> [AP]<br>
................productS....RabbitMQ.informationS...5Licensed under the MPL<br> . See <a href="http://www.rabbitmq.com/.platformS....Java.copyrightS...gCopyright">http://www.rabbitmq.com/.platformS....Java.copyrightS...gCopyright</a> (<br>
C) 2007-2008 LShift Ltd., Cohesive Financial Technologies LLC., and Rabbit<br> Technologies Ltd..versionS....1.4.0.PLAIN.....guest.guest.en_US.<br>#<br>T <a href="http://192.168.1.104:5672">192.168.1.104:5672</a> -> <a href="http://192.168.1.100:58520">192.168.1.100:58520</a> [AP]<br>
....................<br>#<br>T <a href="http://192.168.1.100:58520">192.168.1.100:58520</a> -> <a href="http://192.168.1.104:5672">192.168.1.104:5672</a> [AP]<br> ....................<br>##<br>T <a href="http://192.168.1.100:58520">192.168.1.100:58520</a> -> <a href="http://192.168.1.104:5672">192.168.1.104:5672</a> [AP]<br>
..........(./...<br>##<br>T <a href="http://192.168.1.104:5672">192.168.1.104:5672</a> -> <a href="http://192.168.1.100:58520">192.168.1.100:58520</a> [AP]<br> ..........).<a href="http://debian.sz.cn:5672">debian.sz.cn:5672</a>.<br>
#<br>T <a href="http://192.168.1.100:58520">192.168.1.100:58520</a> -> <a href="http://192.168.1.104:5672">192.168.1.104:5672</a> [AP]<br> .............<br>#<br>T <a href="http://192.168.1.104:5672">192.168.1.104:5672</a> -> <a href="http://192.168.1.100:58520">192.168.1.100:58520</a> [AP]<br>
............<br>#<br>T <a href="http://192.168.1.100:58520">192.168.1.100:58520</a> -> <a href="http://192.168.1.104:5672">192.168.1.104:5672</a> [AP]<br> ............/data..<br>#<br>T <a href="http://192.168.1.104:5672">192.168.1.104:5672</a> -> <a href="http://192.168.1.100:58520">192.168.1.100:58520</a> [AP]<br>
............e.<br>#<br>T <a href="http://192.168.1.100:58520">192.168.1.100:58520</a> -> <a href="http://192.168.1.104:5672">192.168.1.104:5672</a> [AP]<br> ........2...e.SimpleQueue......<br>#<br>T <a href="http://192.168.1.104:5672">192.168.1.104:5672</a> -> <a href="http://192.168.1.100:58520">192.168.1.100:58520</a> [AP]<br>
........2...SimpleQueue.........<br>#<br>T <a href="http://192.168.1.100:58520">192.168.1.100:58520</a> -> <a href="http://192.168.1.104:5672">192.168.1.104:5672</a> [AP]<br> ........<...e.SimpleQueue...<br>#<br>
T <a href="http://192.168.1.104:5672">192.168.1.104:5672</a> -> <a href="http://192.168.1.100:58520">192.168.1.100:58520</a> [AP]<br> ......&.<..!amq.ctag-9jB3KisBEZQSrUunOq7L4w==.<br>##<br>T <a href="http://192.168.1.104:5672">192.168.1.104:5672</a> -> <a href="http://192.168.1.100:58520">192.168.1.100:58520</a> [AP]<br>
........<br>##<br>T <a href="http://192.168.1.100:58520">192.168.1.100:58520</a> -> <a href="http://192.168.1.104:5672">192.168.1.104:5672</a> [AP]<br> ........<br></div>
<div> </div>
<div>It looks like when using the Java client, some data is missing or is not being sent. When I traced the Connection.class, I am pretty sure the onSocketConnect() is called and the bytes are written to delegate. </div>
<div> </div>
<div>Do you have any idea why this may be happening?</div>
<div> </div>
<div>Thanks alot for all your help.</div>
<div> </div>
<div>Best Regards,</div>
<div>Anne</div></div>