---
schema_version: "1"
id: 61025c101003ca3f723c4157536aed01a08d3289565ba036b1eb83693a4e57db
title: JMS Connector Examples
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/jms-connector/1.10/jms-examples.md
canonical_url: https://docs.mulesoft.com/jms-connector/1.10/jms-examples
source_site: docs.mulesoft.com
content_type: documentation
content_hash: d8289286a0fa269b233109c3aeb81befb19a226dcce77bb294d985e7ebb23237
description: MuleSoft Documentation Site
release: "1.10"
latest: false
---
---
product: JMS Connector
version: 1.10
---

# JMS Connector Examples

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

To fully benefit from using Anypoint Connector for JMS (JMS Connector), see the following examples
of configuring the connector operations:

- [Configure an ActiveMQ Connection](https://docs.mulesoft.com/jms-connector/1.10/jms-activemq-configuration)  
  Configure JMS Connector to connect to ActiveMQ.

- [Manage Message Acknowledgements](https://docs.mulesoft.com/jms-connector/1.10/jms-ack)  
  Configure JMS Connector to manage different acknowledgment configurations, such as automatic
  acknowledgment on success, immediate acknowledgment, and manual acknowledgment.

- [Listen for New Messages](https://docs.mulesoft.com/jms-connector/1.10/jms-listener)  
  Configure the **On New Message** source to listen for new messages as they arrive to the
  destination.

- [Publish New Messages](https://docs.mulesoft.com/jms-connector/1.10/jms-publish)  
  Configure the **Publish** operation to create a new message and send it to the specified
  destination.

- [Consume Messages](https://docs.mulesoft.com/jms-connector/1.10/jms-consume)  
  Configure the **Consume** operation to consume a message at any given time in the flow, from any
  given destination.

- [Publish Messages and Listen for Replies](https://docs.mulesoft.com/jms-connector/1.10/jms-publish-consume)  
  Configure the **Publish consume** operation to publish a message to any destination, and then wait
  for a reply on a different destination.

- [Publish and Consume Messages Within Flows](https://docs.mulesoft.com/jms-connector/1.10/jms-publish-consume-example)  
  Configure the **Publish consume** operation to publish and consume messages within two flows, and
  use a correlation ID to ensure that the incoming messages are replies to a specific outgoing
  message.

- [Manage Transactions](https://docs.mulesoft.com/jms-connector/1.10/jms-transactions)  
  Configure JMS Connector to execute a series of operations that are performed only when the
  transaction is committed.

- [Configure Topic Subscription](https://docs.mulesoft.com/jms-connector/1.10/jms-topic-subscription)  
  Configure topics subscriptions in JMS Connector to control how subscriptions behave regarding
  consumers connections and also how these consumers interact with each other.

- [Configure XA Transactions](https://docs.mulesoft.com/jms-connector/1.10/jms-xa-transactions)  
  Configure XA transactions using the **XA Connection Pool** and the **Transaction Type** fields.

## See Also

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

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