Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > HTTP Persistent Connections using SonicMQ (and Sonic ESB)

Thread Tools

HTTP Persistent Connections using SonicMQ (and Sonic ESB)
Posts: n/a
I am connecting a small java client to sentSOAP messages on an HTTP
Connection to the Sonic ESB.Server

I can get the HTTP Non-Persstent Connection to work just fine. My java
client opens a socket, and sends an HTTP header "Connection: close" on
the message, and then Sonic ESB listener receives the message and sends
it back to my java program. THIS WORKS PERFECTLY and works for as many
messages as I need to send.

However, for HTTP Persistent Connection.....

The java client program opens a socket, and sends a "Connection:
Persist" HTTP header in the message, and sends it to the Sonic Server.
The Sonic server reads the fFIRST message on the connection, and then
sends the FIRST message back to the java client successfully.

The java client sends another SOAP message with a "Connection: Persist"
HTTP Header to the Sonic Server. This Second message is never placed
on a Sonic Queue, and is never returned to the Java client program.

Any subsequent message sent is apparently no read o processed or
returned by the Sonic Server.

This is a repeatable process, the first message sent on a persistent
connection is always returned properly, but the 2nd message (and any
other message) is not processed by the Sonic Server.

Does anyone have any info on Sonic and HTTP connections that would shed
light on this problem ?


Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Persistent HTTP Connections with Python? Scott Sharkey Python 2 01-12-2008 04:48 AM
Lingering Idle Oracle Connections? Persistent connections? jobs ASP .Net 2 11-16-2007 03:37 AM
Are there any forums or Message Boards for SonicMQ and Sonic ESB ? Java 0 08-28-2006 06:05 PM
HTTP Persistent connections on Apache web-server webdev50 Java 0 09-26-2005 05:50 AM
HTTP/1.1 persistent connections Alex Hunsley Java 4 02-13-2004 03:01 PM