JMS

From BC$ MobileTV Wiki
Revision as of 03:11, 28 July 2022 by Bcmoney (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Java Messaging Service (also referred to as Java Message Service; commonly abbreviated JMS) is a communication protocol designed to work atop the existing HTTP and HTTPS protocols.

JMS.gif

Specifications


Protocols

Queues

Are synchronous and/or asynchronous data stores where messages are placed in line by the provider (i.e. "queued") for their turn to be picked up by a consumer via a single-consumption mechanism. Since messages are de-queued after they are received, Queues are most appropriate for point-to-point application communication, transactional event-processing, or other instances where a race condition will not cause issues in application performance.

JMS queue.gif

Topics

Are asynchronous data relay containers where messages are passed from providers to consumers in a multiple-consumption (i.e. "Publish/Subscribe") mechanism, where any number of consumers can all be "pushed" the same message simultaneously, and any of the consumers could also be producers of messages of their own. Thus, Topics are best suited for multicast application communication, real-time data services, remote control message passing, or other instances where events are to be shared across multiple applications.

JMS topic.gif



Servers

ActiveMQ

Apache ActiveMQ is the leading open source JMS implementation, and supports messaging in many languages.

[2]

Tools


Resources

Ajax

Java

Scala

Flex

PHP

.Net


Tutorials

External Links

References

  1. Building ActiveMQ (from source) using Maven: http://activemq.apache.org/building.html
  2. cvc-complex-type.2.4.a -- Invalid content was found starting with element 'init-param': https://stackoverflow.com/questions/5175034/cvc-complex-type-2-4-a-invalid-content-was-found-starting-with-element-init-pa
  3. Configure Tomcat's JNDI Resource Factory: http://tomcat.apache.org/tomcat-5.5-doc/jndi-resources-howto.html
  4. Configure Apache ActiveMQ with Tomcat 6: http://rocksolutions.wordpress.com/2010/12/03/configure-apache-activemq-with-tomcat-6/
  5. Integrating ActiveMQ 5.1 with Tomcat 6: http://sacrosanctblood.blogspot.ca/2008/11/integrating-activemq-51-with-tomcat-6.html
  6. Howto Run ActiveMQ 5.2 in Tomcat 6 on Windows: http://activemq.2283324.n4.nabble.com/Howto-Run-ActiveMQ-5-2-in-Tomcat-6-on-Windows-td2366506.html

See Also

Web Service | ESB |Mule | ServiceMix | SOA | JEE | XMPP | IM | SMS | MMS | Chat | Text