• Post Reply Bookmark Topic Watch Topic
  • New Topic

Failed Miserably to put JMS over HTTP

 
George Berish
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Is there a chance anyone can point me to an example of a java client using JMS over HTTP on a jboss J2EE server?

I looked in:ch3.chapter.html

That made it seem straight forward but it still defeated me.

Just in case anyone uses jboss, I put the code for the client I am using to experiment below, and then the screen print I get below that. It should run on any out of the box jboss server, as it uses queue/A which comes deployed.

The client just has a loop that first sends and retreives a regular JMS message --OK -- then tries over HTTP and fails miserably.

Thanx.
glb

CLIENT CODE:

SCREEN PRINT:
 
George Berish
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not sure where the red two red dots in the code came from.

They are supposed to be colons ":"
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!