• 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
  • Ron McLeod
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Rob Spoor
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Carey Brown
Bartenders:

Regd JmsSendingMessageHandler (Spring Integration)

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Does the handleMessage (message) method of JmsSendingMessageHandler have performance issues (abt 6 seconds for a 4 KB msg?)
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"Bubbles" check your Private Messages for an important JavaRanch message.

Not sure what your question is, but the responsibility of the JMS Message Handler is to convert the JMS Message to a Spring Integration Message object type. While the two Message types are very similar in that they have a "body" in JMS it is called the "payload" in SI. And in SI we have a Header, where in JMS it is Properties. If you have a scenario where you are passing through SI, so receive a JMS message on one channel and send it out on another channel with JMS adapters you can configure it to just pass the whole JMS message as a payload in a Spring Integration channel which then takes that payload to the outbound channel to JMS. That would have no overhead as it is just a passthrough.

If you have a complicated JMS message with lots of Properties, it might take a few more milliseconds to convert those into SI Message header values.

Hope that answers your question.

Mark
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic