Hi All,

We are currently working on providing JMS 2.0 support with MB4.

*JMS 1.1 vs JMS 2.0*

JMS 2.0 has focused significantly on providing "ease of use".
However the Classic API (JMS 1.1) has not been deprecated and the
Simplified API (JMS 2.0) provides all the features of the Classic API along
with several additional features.

The new messaging features introduced include:

   - Shared Subscription on Topics
   - Delivery Delay
   - Asynchronous Send
   - Delivery Count

An article explaining the new features in detail is available at [1].

There are several significant but related differences between JMS 1.1
(Classic API) and JMS 2.0 (Simplified API). These include replacements as
follows:

Classic API

Simplified API

Connection

JMSContext

Session

JMSContext

MessageProducer

JMSProducer

MessageConsumer

JMSConsumer

JMSException

JMSRuntimeException


Given the similarities between these changes, we are currently looking at
the feasibility of providing the functionality atop the existing code base,
adding additional features where required.

As the starting point we have begun working on the JMSContext, JMSProducer
and JMSConsumer.

*JMSContext, JMSProducer and JMSConsumer*

With JMS 2.0, the basic messaging process is as shown in the diagram below.

​
Given the similarities, JMSContext (AMQJMSContext), JMSProducer
(BasicJMSProducer) and JMSConsumer (BasicJMSConsumer) could be based on
AMQConnection, AMQSession, BasicMessageProducer and BasicMessageConsumer.

​
Apache ActiveMQ Artemis​ [2] and Apache QpidJMS [3] have also adopted
similar approaches.​​
​
Feedback would be highly appreciated.

[1] http://www.oracle.com/technetwork/articles/java/jms2mess
aging-1954190.html
[2] https://github.com/apache/activemq-artemis/blob/master/a
rtemis-jms-client/src/main/java/org/apache/activemq/artemis/
jms/client/ActiveMQJMSContext.java
[3] https://github.com/apache/qpid-jms/blob/master/qpid-jms-
client/src/main/java/org/apache/qpid/jms/JmsContext.java

Thank you,
Maryam
-- 
*Maryam Ziyad Mohamed*
Software Engineer | WSO2
[image: http://wso2.com/signature] <http://wso2.com/signature>
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to