---
schema_version: "1"
id: 632e33205de243cba6a779fc7a9570178bfb20643d4e49fc064b2910531fd3b0
title: About the JMS Connector
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/jms-connector/1.2/jms-about.md
canonical_url: https://docs.mulesoft.com/jms-connector/1.2/jms-about
source_site: docs.mulesoft.com
content_type: documentation
content_hash: fe4aef334e22fd6a025bab2c60677b1fe21e2276edf0ca1afcbce52a10ea37a1
description: MuleSoft Documentation Site
release: "1.2"
latest: false
---
---
product: JMS Connector
version: 1.2
---

# About the JMS Connector

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

Anypoint Connector for JMS (Java Message Service) (JMS Connector) is a widely-used API for message
oriented middleware. It allows communication between different components of a distributed
application to be loosely coupled, reliable, and asynchronous.

JMS supports two models for messaging:

- Point-to-point queues

- Publish and subscribe topics

JMS Connector enables sending and receiving messages to queues and topics for any message service
that implements the JMS specification.

## Point-to-Point Queues

In the point-to-point or queuing model, a sender posts messages to a particular queue and a receiver
reads messages from the queue. Here, the sender knows the destination of the message and posts the
message directly to the receiver’s queue.

The point-to-point queuing model is characterized by the following:

- Only one consumer receives the message.

- The sender does not need to be running at the time the consumer consumes the message, nor does the
  consumer need to be running at the time the message is sent.

- Every message that is successfully processed is acknowledged by the consumer.

## Publish and Subscribe Topics

The publish-subscribe model supports publishing messages to a particular message topic. Subscribers
can register to receive messages on a particular message topic. In this model, neither the publisher
nor the subscriber are aware of each other. An anonymous bulletin board is a good analogy for this
concept.

The publish-subscribe model is characterized by the following:

- Multiple consumers (or none) receive the message.

- The publisher must create a message topic to which clients can subscribe.

- The subscriber must remain continuously active to receive messages, unless it has established a
  durable subscription, in which case, messages published while the subscriber is not connected are
  redistributed when the subscriber reconnects.

## See Also

- [Introduction to Anypoint Connectors](https://docs.mulesoft.com/connectors/introduction/introduction-to-anypoint-connectors)

- [Salesforce Help](https://help.salesforce.com)
