• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Failed Miserably to put JMS over HTTP

 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Not sure where the red two red dots in the code came from.

They are supposed to be colons ":"
 
The human mind is a dangerous plaything. This tiny ad is pretty safe:
New web page for Paul's Rocket Mass Heaters movies
https://coderanch.com/t/785239/web-page-Paul-Rocket-Mass
reply
    Bookmark Topic Watch Topic
  • New Topic