Skip to Content
avatar image
Former Member

JMS

Hello All ,

Please tell whether JMS is synchronous or asynchronous and why ?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Apr 03, 2006 at 02:17 PM

    Hi Anita:

    From note 856346:

    <i>2.3. Question: Which XI quality of services (QoS for short) are supported?

    Answer: XI recognizes the QoS Best Effort (BE, synchronous), Exactly Once (EO, asynchronous) and Exactly Once In Order (EOIO, asynchronous). The JMS Adapter supports EO and EOIO, since JMS is itself an asynchronous message service.

    </i>

    Regards,

    Udo

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 04, 2006 at 03:21 AM

    Anita,

    JMS is a java specification to connect to Messaging systems / MOM i.e. Message Oriented middleware. The reason behind invention of Messaging systems was to achieve a loose coupling between systems which may or may not understand the programming languages into which each of them were written into. The best strategy to achieve loose coupling between systems is to have an asynchronous communication thro' middleware and that is why middleware (messaging systems ) and in turn JMS recommends Aynchronous(Fire 'n Forget) communication. does not necessarily mean that its not supporting Synchronous calls. the underlying messaging system to which JMS service is trying to connect to May or May NOT. Just google on synchronous JMS and youll find many products supporting that. To summarize , for achiving loose coupling Async communication is a preffered way and sync communications can be simulated based on the messaging system capabilities.

    Add comment
    10|10000 characters needed characters exceeded