• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Spring and JMS integration

 
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I want to use JMS through Spring so that I can leverage transaction management.I am using OpenMQ on Glassfish.I have following questions:

1. Can I recieve messages synchronously using Spring? Spring 2.5 documentation says so but I believe it does not provide an example.

2. If synchronous messaging is not possible with Spring, then is there a way to recieve messages synchronously?A work-around perhaps?

2. For asynchronus transmission, I am facing problem for configuring the Destination using OpenMQ in Spring. I googled for examples but all examples used ActiveMQ.Can any body give me a sample configuration for using OpenMQ in Spring?

Thanks,
 
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Same is the question for Seam .

Does seam provide support to JMS Integration in it ?
 
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Ganesh Bhambure:
Same is the question for Seam .

Does seam provide support to JMS Integration in it ?



Its good to open a new thread for this question. Thanks.
 
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

Originally posted by K Aditi:
I want to use JMS through Spring so that I can leverage transaction management.I am using OpenMQ on Glassfish.I have following questions:

1. Can I recieve messages synchronously using Spring? Spring 2.5 documentation says so but I believe it does not provide an example.

2. If synchronous messaging is not possible with Spring, then is there a way to recieve messages synchronously?A work-around perhaps?

2. For asynchronus transmission, I am facing problem for configuring the Destination using OpenMQ in Spring. I googled for examples but all examples used ActiveMQ.Can any body give me a sample configuration for using OpenMQ in Spring?

Thanks,



Check out the methods of the JmsTemplate class, that has some receive blocking methods that word synchronousle.

Q2. Do the same thing as with ActiveMQ, except use the destination classes that are in the OpenMQ jar for the "class" attribute. You are just using a different implementation of a Destination, so it is just a different class and package name. Everything else is exactly the same.

Mark
 
K Aditi
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sorry for the delayed response...but have finally got things going.Thanks.
 
Ranch Hand
Posts: 1880
Firefox Browser Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Read this article:
Spring and JMS Integration
 
reply
    Bookmark Topic Watch Topic
  • New Topic