# mulesoft Microsoft Service Bus Connector - Full Documentation --- product: Microsoft Service Bus Connector version: 2.2 is-latest-version: true --- # Microsoft Service Bus Connector 2.2 > For the full documentation index, see: https://docs.mulesoft.com/llms.txt Anypoint Connector for Microsoft Service Bus (Microsoft Service Bus Connector) enables message integration with Windows Service Bus on-premises. The connector supports communication with queues and topics through Advanced Message Queuing Protocol (AMQP) 1.0. In addition, dynamic discovery and provisioning of Service Bus objects is possible using the built-in management API. To implement message integration scenarios with Microsoft Azure, use the Microsoft Azure Service Bus Connector instead of this connector. Release Notes: [Microsoft Service Bus Connector Release Notes](https://docs.mulesoft.com/release-notes/connector/ms-service-bus-connector-release-notes-mule-4) Exchange: [Microsoft Service Bus Connector](https://www.mulesoft.com/exchange/com.mulesoft.connectors/mule-microsoft-service-bus-connector/) > [!NOTE] This connector supports connecting only to the Microsoft Windows Service Bus on-premises > solution. To connect to Microsoft Azure Service Bus, use > [Anypoint Connector for Azure Service Bus](https://www.mulesoft.com/exchange/com.mulesoft.connectors/mule-azure-service-bus-connector). ## Before You Begin To use this connector, you should be familiar with Microsoft Service Bus, Mule runtime engine (Mule), Anypoint Connectors, Anypoint Studio, Mule concepts, elements in a Mule flow, and Global Elements. You need one of the following credential types to test your connection to your target resource: - Windows credentials type - SAS (shared access signature) - **Deprecated** - Username and password - **Deprecated** For software requirements and compatibility information, see the [Connector Release Notes](https://docs.mulesoft.com/release-notes/connector/ms-service-bus-connector-release-notes-mule-4). To use this connector with Apache Maven, click the **Dependency Snippets** link in [Anypoint Exchange](https://www.mulesoft.com/exchange/com.mulesoft.connectors/mule-microsoft-service-bus-connector/). The connector supports the Microsoft Windows Service Bus on-premises. ## POM File Information ```xml com.mulesoft.connectors mule-microsoft-service-bus-connector x.x.x mule-plugin ``` Verify that the connector `version` corresponds to the one you are using. To obtain the most up-to-date `pom.xml` file information: 1. Go to [Anypoint Exchange](https://www.mulesoft.com/exchange/). 2. In Exchange, click **Login** and supply your Anypoint Platform username and password. 3. In Exchange, search for `SAP S/4HANA OData`. 4. Click **Dependency Snippets**. ### Add the Connector in Studio 1. In Studio, create a Mule project. 2. In the Mule Palette view, click **(X) Search in Exchange**. 3. In **Add Modules to Project**, type `service bus` in the search field. 4. Click this connector’s name in **Available modules**. 5. Click **Add**. 6. Click **Finish**. ### Configure in Studio 1. Drag a connector’s operation to the Studio Canvas. 2. Configure the Global element for the connector. ![Microsoft Service Bus connector global elements properies config window on General tab](/mulesoft/current/en-us/microsoft-service-bus-connector/latest/_images/ms-service-bus-studio-1.png) ## Get Queue List Use Case This use case retrieves a list of existing queues in a specific namespace. It returns the list in JSON format. ![Studio flow for retrieving a list of existing queues](/mulesoft/current/en-us/microsoft-service-bus-connector/latest/_images/ms-service-bus-flow.png) 1. Create a new Mule application in Studio and select **HTTP > Listener** as a source in the new flow. 2. Add a new HTTP Listener configuration global element: 3. Specify the Host and Port parameters with the following values:
ParameterValue

Host

0.0.0.0

Port

8081

4. Click **Save**. 5. Assign the new global configuration to HTTP Listener. 6. Complete the HTTP Listener path with the value `/servicebus`. 7. Drag a new Service Bus component operation into the flow. 8. Configure the Service Bus connector global element with its environment values. 9. Add a transform message before the connector and add an output like this: ```dataweave %dw 2.0 output application/json --- payload ``` 10. Save and run the project as a Mule application. To test the app, navigate to `http://127.0.0.1:8081/servicebus`. XML flow: ```xml ``` ## SSL Issues If you get one of the following errors when performing a connectivity test or starting a Mule app, you must configure the truststore in insecure mode: - `SSL certificate error` - `General SSLEngine problem` To configure the truststore in insecure mode: 1. Navigate to the **Security** tab in the global element configuration. 2. In the **Security** field, select **Edit inline**. 3. In the **Trust Store Configuration** section, select the **Insecure** checkbox. 4. Click **OK**. ![Insecure truststore configuration](/mulesoft/current/en-us/microsoft-service-bus-connector/latest/_images/ms-service-bus-truststore-insecure.png) Figure 1. The graphic shows how to configure the truststore in insecure mode. The first item shows where to select **Edit inline** and the second item shows where to select the **Insecure** checkbox. For more information, see [Failed Connectivity Test](https://docs.mulesoft.com/microsoft-service-bus-connector/latest/service-bus-troubleshooting#failed-connectivity-test). ## Service Bus Authentication For sending and receiving messages through Microsoft Service Bus Connector, the authentication is performed through AMQP. For the REST Management API, the authentication scheme differs based on the Microsoft Service Bus version. Windows Service Bus uses OAuth. > [!NOTE] Windows Service Bus uses a self-signed SSL certificate to secure the communication using > AMQP and HTTPS. The connector won’t run if this certificate is not locally imported in the box > running Mule, unless the **Ignore SSL warning** check is enabled. To enable the SSL checks, follow these steps to import the certificate: 1. Use the PowerShell cmdlet [Get-SBAutoGeneratedCA](https://docs.mulesoft.com/microsoft-service-bus-connector/latest/%3Chttps://learn.microsoft.com/en-us/previous-versions/azure/jj248762(v=azure.10)?redirectedfrom=MSDN>) to download the certificate locally in the machine running the Windows Service Bus. For this example, the certificate file is exported to `%temp%\AutoGeneratedCA.cer`. 2. Running as Administrator, go to `%programfiles%\Java\jre7`. You must be running as Administrator to perform a certificate import with `Keytool.exe`. 3. Verify that the `bin\keytool.exe` tool and `lib\security\cacerts` exists. 4. Enter the following command: `bin\keytool.exe –list –keystore lib\security\cacerts` 5. Import the autogenerated Service Bus certificate by running the following command: + `bin\keytool.exe –importcert –alias AppServerGeneratedSBCA –file %temp%\AutoGeneratedCA.cer –keystore lib\security\cacerts –v` 6. Enter the password when prompted (the default is “changeit”). 7. When the tool asks you whether to trust the certificate, enter `Y` (Yes). ## Using Restricted Access Policies If you have restricted access to your resources, such as having a security policy with permissions at the resource level, the connector cannot perform the connectivity test when it starts. This occurs because the connectivity test targets the root level of your namespace, which might be forbidden due to the customized policy applied to the `shared access key`. For these scenarios, skip the connectivity test with the configuration option available for this purpose, otherwise, the connector fails to start. ## Log Requests and Responses To log requests and responses when using the connector, configure a logger by adding this line to the `Loggers` element of the `log4j2.xml` configuration file for the Mule app: ```xml ``` The following example shows the `Loggers` element with the `AsyncLogger` line added: ```xml ``` You can view the app log as follows: - If you’re running the app from the Anypoint Platform, the output is visible in the Anypoint Studio console window. - If you’re running the app using Mule from the command line, the app log is visible in your OS console. Unless the log file path was customized in the app’s log file (`log4j2.xml`), you can also view the app log in this default location: `MULE_HOME/logs/.log` For more information about the app log, see [Configuring Logging](https://docs.mulesoft.com/mule-runtime/latest/logging-in-mule). ## Windows Service Bus AMQP Use Case This use case contains the following flows that send and receive messages for topics and queues: - `load-http-form-flow` Provides a web form for entering the parameters for messages. - `topic-endpoint-flow` Receives messages through the `load-http-form-flow`, stores each message as the payload, converts each message to a Java object, and sends each message to the destination topic. - `queue-endpoint-flow` Receives messages through the `load-http-form-flow`, stores each message as the payload, converts each message to a Java object, and sends each message to the destination queue. - `queue-receive-flow` Listens for, receives, and logs messages from the specified queue. - `topic-receive-flow` Listens for, receives, and logs messages from the specified topic. ![Studio flows for the Windows Service Bus AMQP use case](/mulesoft/current/en-us/microsoft-service-bus-connector/latest/_images/ms-service-bus-demo-1.png) XML for this flow: ```xml ``` ## Windows Service Bus Management Use Case This use case contains flows that create topics, subscriptions, and rules: - `service-bus-management-demoFlow` Creates a topic by following these steps: 1. Creates the topic description as specified and stores it as the payload. 2. Creates the topic using the stored configuration from the previous step and the topic namespace, obtained from variable `topic.name`. 3. Converts the newly created topic to a JSON object. 4. Logs the JSON object. - `service-bus-management-demoFlow1` Creates a subscription by following these steps: 1. Creates the subscription description as specified and stores it as the payload. 2. Creates the subscription using the stored configuration from the previous step, the subscription name from the variable `subscription.name`, and the topic name from the variable `topic.name`. 3. Converts the newly created subscription to a JSON object. 4. Logs the JSON object. - `service-bus-management-demoFlow2` Creates a rule by following these steps: 1. Creates a rule with the specified configuration and stores it as the payload. 2. Creates the rule using the stored configuration from the previous step, the rule name from the variable `rule.name`, the subscription name from the variable `subscription.name`, and the topic name from the variable `topic.name`. 3. Converts the newly created rule to a JSON object. 4. Logs the JSON object. ![Studio flows for Windows Service Bus Management use case](/mulesoft/current/en-us/microsoft-service-bus-connector/latest/_images/ms-service-bus-demo-2.png) XML flow: ```xml ``` ## See Also - [Introduction to Anypoint Connectors](https://docs.mulesoft.com/connectors/introduction/introduction-to-anypoint-connectors) - [Use Exchange to Discover Connectors, Templates, and Examples](https://docs.mulesoft.com/connectors/introduction/intro-use-exchange) - [Microsoft Service Bus Connector on Exchange](https://www.mulesoft.com/exchange/com.mulesoft.connectors/mule-microsoft-service-bus-connector/) - [Salesforce Help](https://help.salesforce.com) --- product: Microsoft Service Bus Connector version: 2.2 is-latest-version: true --- # Microsoft Service Bus Connector 2.2 Reference > For the full documentation index, see: https://docs.mulesoft.com/llms.txt Release Notes: [Microsoft Service Bus Connector Release Notes](https://docs.mulesoft.com/release-notes/connector/ms-service-bus-connector-release-notes-mule-4) > [!NOTE] This connector supports connecting only to the Microsoft Windows Service Bus on-premises > solution. To connect to Microsoft Azure Service Bus, use > [Anypoint Connector for Azure Service Bus](https://www.mulesoft.com/exchange/com.mulesoft.connectors/mule-azure-service-bus-connector). ## Configurations --- ### Default Configuration #### Parameters
NameTypeDescriptionDefault ValueRequired

Name

String

Name for this configuration. Connectors reference the configuration with this name.

x

Connection

Connection types to provide to this configuration

x

Encoding

String

Default encoding of the Message body to use if the message doesn’t communicate it

Content Type

String

Default contentType of the Message body to use if the message doesn’t communicate it

/

Expiration Policy

Configures the minimum amount of time that a dynamic configuration instance can remain idle before Mule considers it eligible for expiration. This does not mean that the instance expires at the exact moment that it becomes eligible. Mule purges the instances as appropriate.

Ack Mode

Enumeration, one of:

  • IMMEDIATE

  • AUTO

  • MANUAL

  • DUPS_OK

The org.mule.jms.commons.api.config.ConsumerAckMode to use when consuming a message. Override this setting at the message source level. This attribute must be IMMEDIATE if transactionType is LOCAL or MULTI

AUTO

Consumer Type

The ConsumerType to use by default when consuming a Message. Override this setting at the message source level.

Persistent Delivery

Boolean

Sets the default value for the Message#getJMSDeliveryMode. If true, the DeliveryMode#PERSISTENT mode is used, which instructs the JMS provider to take extra care to insure the message is not lost in transit due to a JMS provider failure.

false

Priority

Number

Defines the default Message#getJMSPriority to use when sending messages

4

Time To Live

Number

Defines the default time the message is in the broker before it expires and is discarded

0

Time To Live Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

A TimeUnit which qualifies the #timeToLive attribute. Defaults to MILLISECONDS

MILLISECONDS

Disable Message Id

Boolean

Defines the default value to use when producing messages, for disabling the Message#getJMSMessageID generation in the broker. Depending on the provider it may or may not have effect

false

Disable Message Timestamp

Boolean

Defines the default value to use, when producing messages, for disable Message#getJMSTimestamp generation in the broker. Depending on the provider it may or may not have effect.

false

Delivery Delay

Number

Determines the Message delivery delay time which is calculated by adding the deliveryDelay value specified on the send method to the time the message was sent. Only used in JMS_2_0

Delivery Delay Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

A TimeUnit which qualifies the #deliveryDelay attribute. Defaults to MILLISECONDS

MILLISECONDS

Jms Type

String

A message JMSType identifier supplied by a client when a message is sent.

#### Connection Types ##### Shared Access Signature (Deprecated) ###### Parameters
NameTypeDescriptionDefault ValueRequired

Skip connectivity test

Boolean

(Optional) Skips the connectivity test at connector startup (use this if your access policy is restricted).

false

Max Connections

Number

Maximum number of connections to keep in pool for the producer to reuse. If set to -1, a new connection is created every time.

-1

Caching Strategy

One of:

Strategy to use for caching sessions and connections

Service Namespace

String

Namespace for the Azure Service Bus service in your subscription.

x

Storage Account Name

String

(Optional) The account name of the Blob Storage to use to store large messages.

Storage Access Key

String

(Optional) The account key of the Blob Storage to use to store large messages.

Container Name

String

(Optional) The container name in the Blob Storage to use to store large messages. If this parameter is not provided, a default container is created.

Shared Access Signature

String

Unique security token that sets up one security profile for access to all your service resources. When the token expires, the connector cannot reconnect automatically, so you must stop the flow to update this configuration setting with a new token.

SAS tokens provider

SharedAccessSignatureProvider

Provider instance that provides SAS tokens when required.

SAS tokens list

Array of String

List of SAS tokens to use when required.

Max redeliveries

Number

Controls when an incoming message is rejected based on the number of times it was redelivered. The default value is -1 (disabled). A value of 0 means that no message redeliveries are accepted. A value of 5 means that a message is redelivered five times, and so forth.

-1

Outcome

Enumeration, one of:

  • ACCEPTED

  • REJECTED

  • RELEASED

  • MODIFIED_FAILED

  • MODIFIED_FAILED_UNDELIVERABLE

Controls the outcome to apply to a message that is rejected due to exceeding the configured maxRedeliveries value.

MODIFIED_FAILED_UNDELIVERABLE

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

true

##### Username Password (Deprecated) ###### Parameters
NameTypeDescriptionDefault ValueRequired

Skip connectivity test

Boolean

(Optional) Skips the connectivity test at connector startup (use this if your access policy is restricted).

false

Max Connections

Number

Maximum number of connections to keep in pool for the producer to reuse. If set to -1, a new connection is created every time.

-1

Caching Strategy

One of:

The strategy to use for caching sessions and connections

Service Namespace

String

Namespace for the Azure Service Bus service in your subscription.

x

Storage Account Name

String

(Optional) The account name of the Blob Storage to use to store large messages

Storage Access Key

String

(Optional) The account key of the Blob Storage to use to store large messages.

Container Name

String

(Optional) The container name in the Blob Storage to use to store large messages. If this parameter is not provided, a default container is created.

Shared Access Key Name

String

Name of the access key configured on the namespace. Any access key created at a lower level, such as a topic level shared key, does not work with this option, unless you disable the connectivity test at startup.

x

Shared Access Key

String

256-bit primary key.

x

Proxy

Points to the Proxy type.

Security

Points to the TLS type.

Advanced

Points to the Advanced type.

Max redeliveries

Number

Controls when an incoming message is rejected based on the number of times it was redelivered. The default value is -1 (disabled). A value of 0 means that no message redeliveries are accepted. A value of 5 means that a message is redelivered five times, and so forth.

-1

Outcome

Enumeration, one of:

  • ACCEPTED

  • REJECTED

  • RELEASED

  • MODIFIED_FAILED

  • MODIFIED_FAILED_UNDELIVERABLE

Controls the outcome to apply to a message that is rejected due to exceeding the configured maxRedeliveries value.

MODIFIED_FAILED_UNDELIVERABLE

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

true

##### Windows ###### Parameters
NameTypeDescriptionDefault ValueRequired

Skip connectivity test

Boolean

(Optional) Skips the connectivity test at connector startup (use this if your access policy is restricted).

false

Max Connections

Number

Maximum number of connections to keep in pool for the producer to reuse. If set to -1, a new connection is created every time.

-1

Caching Strategy

One of:

The strategy to use for caching sessions and connections

Service Namespace

String

Namespace for the Azure Service Bus service in your subscription.

x

Username

String

Username used for authentication.

x

Password

String

Password used for authentication.

x

Fully Qualified Domain Name

String

Fully qualified domain name of your Windows Service Bus server.

x

Port

String

Server port number.

9355

Disable SSL certificate validation

Boolean

Set to true when using a self-signed SSL certificate.

false

Idle timeout

Number

The idle timeout in milliseconds after which the connection fails if the peer sends no AMQP frames.

60000

Proxy

Points to the Proxy type.

Security

Points to the TLS type.

Advanced

Points to the Advanced type.

Max redeliveries

Number

Controls when an incoming message is rejected based on the number of times it was redelivered. The default value is -1 (disabled). A value of 0 means that no message redeliveries are accepted. A value of 5 means that a message is redelivered five times, and so forth.

-1

Outcome

Enumeration, one of:

  • ACCEPTED

  • REJECTED

  • RELEASED

  • MODIFIED_FAILED

  • MODIFIED_FAILED_UNDELIVERABLE

Controls the outcome to apply to a message that is rejected due to exceeding the configured maxRedeliveries value.

MODIFIED_FAILED_UNDELIVERABLE

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

true

## Associated Operations - [Ack](#ack) - [Queue Create](#queueCreate) - [Queue Delete](#queueDelete) - [Queue Get](#queueGet) - [Queue Send](#queueSend) - [Queue Update](#queueUpdate) - [Queues](#queues) - [Recover Session](#recoverSession) - [Rule Create](#ruleCreate) - [Rule Delete](#ruleDelete) - [Rule Get](#ruleGet) - [Rule Update](#ruleUpdate) - [Rules](#rules) - [Subscription Create](#subscriptionCreate) - [Subscription Delete](#subscriptionDelete) - [Subscription Get](#subscriptionGet) - [Subscription Update](#subscriptionUpdate) - [Subscriptions](#subscriptions) - [Topic Create](#topicCreate) - [Topic Delete](#topicDelete) - [Topic Get](#topicGet) - [Topic Send](#topicSend) - [Topic Update](#topicUpdate) - [Topics](#topics) ## Associated Sources - [Listener](#listener) ## Operations ### Ack `` Allows the user to perform an ACK when the JmsAckMode#MANUAL mode is elected while consuming the Message. As per JMS Spec, performing an ACK over a single Message automatically works as an ACK for all the Messages produced in the same JmsSession. #### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

Name of the configuration to use

x

Ack Id

String

The AckId of the Message to ACK

#[payload]

Reconnection Strategy

A retry strategy in case of connectivity errors.

### For Configurations - [Default Configuration](#config) #### Throws - SERVICEBUS:INVALID\_TOKEN - SERVICEBUS:RETRY\_EXHAUSTED - SERVICEBUS:CONNECTION\_EXCEPTION - SERVICEBUS:UNKNOWN - SERVICEBUS:AMQP\_ERROR - SERVICEBUS:CONNECTIVITY - SERVICEBUS:REST\_ERROR ### Queue Create `` Creates a queue in the service bus instance #### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

The name of the configuration to use

x

Queue Path

String

The name of the queue

x

Queue Description

An InternalQueueDescription object containing the desired values of the queue’s properties to create

#[payload]

Target Variable

String

Name of a variable that stores the operation’s output

Target Value

String

An expression that evaluates the operation’s output. The expression outcome is stored in the target variable.

#[payload]

Reconnection Strategy

A retry strategy in case of connectivity errors

#### Output

Type

Service Bus Queue

### For Configurations - [Default Configuration](#config) #### Throws - SERVICEBUS:INVALID\_TOKEN - SERVICEBUS:RETRY\_EXHAUSTED - SERVICEBUS:CONNECTION\_EXCEPTION - SERVICEBUS:UNKNOWN - SERVICEBUS:AMQP\_ERROR - SERVICEBUS:CONNECTIVITY - SERVICEBUS:REST\_ERROR ### Queue Delete `` Deletes the specified queue in the service bus instance #### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

Name of the configuration to use

x

Queue Path

String

Name of the queue

#[payload]

Reconnection Strategy

Retry strategy in case of connectivity errors

### For Configurations - [Default Configuration](#config) #### Throws - SERVICEBUS:INVALID\_TOKEN - SERVICEBUS:RETRY\_EXHAUSTED - SERVICEBUS:CONNECTION\_EXCEPTION - SERVICEBUS:UNKNOWN - SERVICEBUS:AMQP\_ERROR - SERVICEBUS:CONNECTIVITY - SERVICEBUS:REST\_ERROR ### Queue Get `` This operation retrieves the specified queue from the Service Bus instance. #### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

Name of the configuration to use

x

Queue Path

String

Name of the queue

#[payload]

Target Variable

String

Name of a variable that stores the operation’s output

Target Value

String

An expression that evaluates the operation’s output. The expression outcome is stored in the target variable.

#[payload]

Reconnection Strategy

Retry strategy in case of connectivity errors

#### Output

Type

Service Bus Queue

### For Configurations - [Default Configuration](#config) #### Throws - SERVICEBUS:INVALID\_TOKEN - SERVICEBUS:RETRY\_EXHAUSTED - SERVICEBUS:CONNECTION\_EXCEPTION - SERVICEBUS:UNKNOWN - SERVICEBUS:AMQP\_ERROR - SERVICEBUS:CONNECTIVITY - SERVICEBUS:REST\_ERROR ### Queue Send `` This operation sends a message to a queue. #### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

The name of the configuration to use.

x

Destination Queue

String

The name of the queue.

x

Transactional Action

Enumeration, one of:

  • ALWAYS_JOIN

  • JOIN_IF_POSSIBLE

  • NOT_SUPPORTED

Type of transactional action.

NOT_SUPPORTED

Send Correlation Id

Enumeration, one of:

  • AUTO

  • ALWAYS

  • NEVER

Correlation strategy id for operation.

AUTO

Body

Any

The body of the Message

#[payload]

JMS Type

String

The JMSType identifier header of the Message

Correlation ID

String

The JMSCorrelationID header of the Message

Send Content Type

Boolean

Whether or not the body content type should be sent as a property

true

Content Type

String

The content type of the message’s body

Send Encoding

Boolean

Whether or not the body outboundEncoding should be sent as a Message property

true

Encoding

String

The encoding of the message’s body

Reply To

The destination where a reply to this Message should be sent

User Properties

Object

The custom user properties to set for this message

JMSX Properties

The JMSX properties to set for this message

Persistent Delivery

Boolean

If true, the Message is sent using the PERSISTENT JMSDeliveryMode.

Priority

Number

The default JMSPriority value to use when sending the message.

Time To Live

Number

Defines the default time the message is in the broker before it expires and is discarded.

Time To Live Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit to use in the timeToLive configurations.

Disable Message Id

Boolean

If true, flags the message to avoid generating its MessageID.

Disable Message Timestamp

Boolean

If true, flags the message to avoid generating its sent Timestamp.

Delivery Delay

Number

Only used by JMS 2.0. Sets the delivery delay to apply to postpone the message delivery.

Delivery Delay Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit to use in the deliveryDelay configurations.

Reconnection Strategy

A retry strategy in case of connectivity errors.

### For Configurations - [Default Configuration](#config) #### Throws - SERVICEBUS:INVALID\_TOKEN - SERVICEBUS:RETRY\_EXHAUSTED - SERVICEBUS:CONNECTION\_EXCEPTION - SERVICEBUS:UNKNOWN - SERVICEBUS:AMQP\_ERROR - SERVICEBUS:CONNECTIVITY - SERVICEBUS:REST\_ERROR ### Queue Update `` This operation updates the specified queue in the Service Bus instance. #### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

The name of the configuration to use.

x

Queue Path

String

The name of the queue

x

Queue Description

An InternalQueueDescription oject containing the desired values of the queue’s properties that will be updated

#[payload]

Target Variable

String

The name of a variable that stores the operation’s output.

Target Value

String

An expression that evaluates the operation’s output. The expression outcome is stored in the target variable.

#[payload]

Reconnection Strategy

A retry strategy in case of connectivity errors.

#### Output

Type

Service Bus Queue

### For Configurations - [Default Configuration](#config) #### Throws - SERVICEBUS:INVALID\_TOKEN - SERVICEBUS:RETRY\_EXHAUSTED - SERVICEBUS:CONNECTION\_EXCEPTION - SERVICEBUS:UNKNOWN - SERVICEBUS:AMQP\_ERROR - SERVICEBUS:CONNECTIVITY - SERVICEBUS:REST\_ERROR ### Queues `` This operation retrieves all existing queues from the Service Bus instance. #### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

The name of the configuration to use.

x

Target Variable

String

The name of a variable that stores the operation’s output.

Target Value

String

An expression that evaluates the operation’s output. The expression outcome is stored in the target variable.

#[payload]

Reconnection Strategy

A retry strategy in case of connectivity errors.

#### Output

Type

Array of Service Bus Queue

### For Configurations - [Default Configuration](#config) #### Throws - SERVICEBUS:INVALID\_TOKEN - SERVICEBUS:RETRY\_EXHAUSTED - SERVICEBUS:CONNECTION\_EXCEPTION - SERVICEBUS:UNKNOWN - SERVICEBUS:AMQP\_ERROR - SERVICEBUS:CONNECTIVITY - SERVICEBUS:REST\_ERROR ### Recover Session `` Allows the user to recover a session when the JmsAckMode#MANUAL mode is elected while consuming the message. Per the JMS Spec, performing a session recover automatically redelivers all the consumed messages that were not acknowledged before the recover. #### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

The name of the configuration to use

x

Ack Id

String

The AckId of the Message Session to recover

#[payload]

Reconnection Strategy

Retry strategy in case of connectivity errors

### For Configurations - [Default Configuration](#config) #### Throws - SERVICEBUS:INVALID\_TOKEN - SERVICEBUS:RETRY\_EXHAUSTED - SERVICEBUS:CONNECTION\_EXCEPTION - SERVICEBUS:UNKNOWN - SERVICEBUS:AMQP\_ERROR - SERVICEBUS:CONNECTIVITY - SERVICEBUS:REST\_ERROR ### Rule Create `` This operation creates a rule for the specified topic and subscription. #### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

Name of the configuration to use

x

Rule Path

String

Name of the rule to create

x

Rule Description

An InternalRuleDescription object containing the desired values of the new rule’s properties

#[payload]

Topic Path

String

Name of the topic that contains the subscription for which to create a rule

x

Subscription Path

String

Name of the subscription that contains the new rule

Target Variable

String

Name of a variable that stores the operation’s output

Target Value

String

Expression that evaluates the operation’s output. The expression outcome is stored in the target variable.

#[payload]

Reconnection Strategy

A retry strategy in case of connectivity errors

#### Output

Type

Service Bus Rule

### For Configurations - [Default Configuration](#config) #### Throws - SERVICEBUS:INVALID\_TOKEN - SERVICEBUS:RETRY\_EXHAUSTED - SERVICEBUS:CONNECTION\_EXCEPTION - SERVICEBUS:UNKNOWN - SERVICEBUS:AMQP\_ERROR - SERVICEBUS:CONNECTIVITY - SERVICEBUS:REST\_ERROR ### Rule Delete `` This operation deletes a rule from the specified topic and subscription. #### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

Name of the configuration to use

x

Topic Path

String

Name of the topic that contains the subscription from which to delete the rule

x

Subscription Path

String

Name of the subscription from which to delete the rule

x

Rule Path

String

Name of the rule to delete

x

Reconnection Strategy

Retry strategy in case of connectivity errors

### For Configurations - [Default Configuration](#config) #### Throws - SERVICEBUS:INVALID\_TOKEN - SERVICEBUS:RETRY\_EXHAUSTED - SERVICEBUS:CONNECTION\_EXCEPTION - SERVICEBUS:UNKNOWN - SERVICEBUS:AMQP\_ERROR - SERVICEBUS:CONNECTIVITY - SERVICEBUS:REST\_ERROR ### Rule Get `` This operation retrieves a rule from the specified topic and subscription. #### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

Name of the configuration to use

x

Topic Path

String

Name of the topic that contains the subscription from which to retrieve the rule

x

Subscription Path

String

Name of the subscription from which to retrieve the rule

x

Rule Path

String

Name of the rule to retrieve

x

Target Variable

String

Name of a variable that stores the operation’s output

Target Value

String

An expression that evaluates the operation’s output. The expression outcome is stored in the target variable.

#[payload]

Reconnection Strategy

A retry strategy in case of connectivity errors

#### Output

Type

Service Bus Rule

### For Configurations - [Default Configuration](#config) #### Throws - SERVICEBUS:INVALID\_TOKEN - SERVICEBUS:RETRY\_EXHAUSTED - SERVICEBUS:CONNECTION\_EXCEPTION - SERVICEBUS:UNKNOWN - SERVICEBUS:AMQP\_ERROR - SERVICEBUS:CONNECTIVITY - SERVICEBUS:REST\_ERROR ### Rule Update `` This operation updates a rule from the specified topic and subscription. #### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

The name of the configuration to use

x

Rule Description

An InternalRuleDescription object containing the desired values for the rule’s updated properties

#[payload]

Topic Path

String

The name of the topic that contains the subscription for which to update the rule

x

Subscription Path

String

The name of the subscription for which to update the rule

x

Rule Path

String

The name of the rule to update

x

Target Variable

String

The name of a variable that stores the operation’s output

Target Value

String

An expression that evaluates the operation’s output. The expression outcome is stored in the target variable.

#[payload]

Reconnection Strategy

A retry strategy in case of connectivity errors

#### Output

Type

Service Bus Rule

### For Configurations - [Default Configuration](#config) #### Throws - SERVICEBUS:INVALID\_TOKEN - SERVICEBUS:RETRY\_EXHAUSTED - SERVICEBUS:CONNECTION\_EXCEPTION - SERVICEBUS:UNKNOWN - SERVICEBUS:AMQP\_ERROR - SERVICEBUS:CONNECTIVITY - SERVICEBUS:REST\_ERROR ### Rules `` Retrieves all rules from the specified topic and subscription #### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

The name of the configuration to use

x

Topic Path

String

The name of the topic that contains the subscription from which to retrieve all rules

x

Subscription Path

String

The name of the subscription from which to retrieve all rules

Target Variable

String

The name of a variable that stores the operation’s output

Target Value

String

An expression that evaluates the operation’s output. The expression outcome is stored in the target variable.

#[payload]

Reconnection Strategy

A retry strategy in case of connectivity errors

#### Output

Type

Array of Service Bus Rule

### For Configurations - [Default Configuration](#config) #### Throws - SERVICEBUS:INVALID\_TOKEN - SERVICEBUS:RETRY\_EXHAUSTED - SERVICEBUS:CONNECTION\_EXCEPTION - SERVICEBUS:UNKNOWN - SERVICEBUS:AMQP\_ERROR - SERVICEBUS:CONNECTIVITY - SERVICEBUS:REST\_ERROR ### Subscription Create `` Creates a subscription in the specified topic #### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

The name of the configuration to use

x

Topic Path

String

The name of the topic to contain the new subscription

x

Subscription Path

String

The name of the subscription to create

x

Subscription Description

An InternalSubscriptionDescription object containing the desired values of the new subscription’s properties

#[payload]

Target Variable

String

The name of a variable that stores the operation’s output

Target Value

String

An expression that evaluates the operation’s output. The expression outcome is stored in the target variable.

#[payload]

Reconnection Strategy

A retry strategy in case of connectivity errors

#### Output

Type

Service Bus Subscription

### For Configurations - [Default Configuration](#config) #### Throws - SERVICEBUS:INVALID\_TOKEN - SERVICEBUS:RETRY\_EXHAUSTED - SERVICEBUS:CONNECTION\_EXCEPTION - SERVICEBUS:UNKNOWN - SERVICEBUS:AMQP\_ERROR - SERVICEBUS:CONNECTIVITY - SERVICEBUS:REST\_ERROR ### Subscription Delete `` Deletes a subscription from the specified topic #### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

The name of the configuration to use

x

Topic Path

String

The name of the topic from which to delete the subscription

x

Subscription Path

String

The name of the subscription to delete

Reconnection Strategy

A retry strategy in case of connectivity errors

### For Configurations - [Default Configuration](#config) #### Throws - SERVICEBUS:INVALID\_TOKEN - SERVICEBUS:RETRY\_EXHAUSTED - SERVICEBUS:CONNECTION\_EXCEPTION - SERVICEBUS:UNKNOWN - SERVICEBUS:AMQP\_ERROR - SERVICEBUS:CONNECTIVITY - SERVICEBUS:REST\_ERROR ### Subscription Get `` Retrieves a subscription from the specified topic #### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

The name of the configuration to use

x

Topic Path

String

The name of the topic from which to retrieve the subscription

x

Subscription Path

String

The name of the subscription to retrieve

Target Variable

String

The name of a variable that stores the operation’s output

Target Value

String

An expression that evaluates the operation’s output. The expression outcome is stored in the target variable.

#[payload]

Reconnection Strategy

A retry strategy in case of connectivity errors

#### Output

Type

Service Bus Subscription

### For Configurations - [Default Configuration](#config) #### Throws - SERVICEBUS:INVALID\_TOKEN - SERVICEBUS:RETRY\_EXHAUSTED - SERVICEBUS:CONNECTION\_EXCEPTION - SERVICEBUS:UNKNOWN - SERVICEBUS:AMQP\_ERROR - SERVICEBUS:CONNECTIVITY - SERVICEBUS:REST\_ERROR ### Subscription Update `` Updates a subscription from the specified topic #### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

The name of the configuration to use

x

Subscription Description

An InternalSubscriptionDescription object containing the desired values of the subscription’s updated properties

#[payload]

Topic Path

String

The name of the topic from which to update the subscription

x

Subscription Path

String

The name of the subscription to update

Target Variable

String

The name of a variable that stores the operation’s output

Target Value

String

An expression that evaluates the operation’s output. The expression outcome is stored in the target variable.

#[payload]

Reconnection Strategy

A retry strategy in case of connectivity errors

#### Output

Type

Service Bus Subscription

### For Configurations - [Default Configuration](#config) #### Throws - SERVICEBUS:INVALID\_TOKEN - SERVICEBUS:RETRY\_EXHAUSTED - SERVICEBUS:CONNECTION\_EXCEPTION - SERVICEBUS:UNKNOWN - SERVICEBUS:AMQP\_ERROR - SERVICEBUS:CONNECTIVITY - SERVICEBUS:REST\_ERROR ### Subscriptions `` Retrieves all subscriptions from the specified topic #### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

The name of the configuration to use

x

Topic Path

String

The name of the topic from which to retrieve all subscriptions

#[payload]

Target Variable

String

The name of a variable that stores the operation’s output

Target Value

String

An expression that evaluates the operation’s output. The expression outcome is stored in the target variable.

#[payload]

Reconnection Strategy

A retry strategy in case of connectivity errors.

#### Output

Type

Array of Service Bus Subscription

### For Configurations - [Default Configuration](#config) #### Throws - SERVICEBUS:INVALID\_TOKEN - SERVICEBUS:RETRY\_EXHAUSTED - SERVICEBUS:CONNECTION\_EXCEPTION - SERVICEBUS:UNKNOWN - SERVICEBUS:AMQP\_ERROR - SERVICEBUS:CONNECTIVITY - SERVICEBUS:REST\_ERROR ### Topic Create `` Creates a topic in the service bus instance #### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

The name of the configuration to use.

x

Topic Path

String

The name of the topic

x

Topic Description

An InternalTopicDescription object containing the desired values of the topic’s properties that will be created.

#[payload]

Target Variable

String

The name of a variable that stores the operation’s output.

Target Value

String

An expression that evaluates the operation’s output. The expression outcome is stored in the target variable.

#[payload]

Reconnection Strategy

A retry strategy in case of connectivity errors.

#### Output

Type

Service Bus Topic

### For Configurations - [Default Configuration](#config) #### Throws - SERVICEBUS:INVALID\_TOKEN - SERVICEBUS:RETRY\_EXHAUSTED - SERVICEBUS:CONNECTION\_EXCEPTION - SERVICEBUS:UNKNOWN - SERVICEBUS:AMQP\_ERROR - SERVICEBUS:CONNECTIVITY - SERVICEBUS:REST\_ERROR ### Topic Delete `` Deletes the specified topic from the service bus instance #### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

The name of the configuration to use.

x

Topic Path

String

The name of the topic

#[payload]

Reconnection Strategy

A retry strategy in case of connectivity errors.

### For Configurations - [Default Configuration](#config) #### Throws - SERVICEBUS:INVALID\_TOKEN - SERVICEBUS:RETRY\_EXHAUSTED - SERVICEBUS:CONNECTION\_EXCEPTION - SERVICEBUS:UNKNOWN - SERVICEBUS:AMQP\_ERROR - SERVICEBUS:CONNECTIVITY - SERVICEBUS:REST\_ERROR ### Topic Get `` Retrieves the specified topic from the service bus instance #### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

The name of the configuration to use.

x

Topic Path

String

The name of the topic

#[payload]

Target Variable

String

The name of a variable that stores the operation’s output.

Target Value

String

An expression that evaluates the operation’s output. The expression outcome is stored in the target variable.

#[payload]

Reconnection Strategy

A retry strategy in case of connectivity errors.

#### Output

Type

Service Bus Topic

### For Configurations - [Default Configuration](#config) #### Throws - SERVICEBUS:INVALID\_TOKEN - SERVICEBUS:RETRY\_EXHAUSTED - SERVICEBUS:CONNECTION\_EXCEPTION - SERVICEBUS:UNKNOWN - SERVICEBUS:AMQP\_ERROR - SERVICEBUS:CONNECTIVITY - SERVICEBUS:REST\_ERROR ### Topic Send `` Sends a message to a Topic #### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

The name of the configuration to use.

x

Destination Topic

String

The name of the topic.

x

Transactional Action

Enumeration, one of:

  • ALWAYS_JOIN

  • JOIN_IF_POSSIBLE

  • NOT_SUPPORTED

Type of transactional action.

x

Send Correlation Id

Enumeration, one of:

  • AUTO

  • ALWAYS

  • NEVER

Correlation strategy id for operation.

x

Body

Any

The body of the Message

#[payload]

JMS Type

String

The JMSType identifier header of the Message

Correlation ID

String

The JMSCorrelationID header of the Message

Send Content Type

Boolean

Whether or not the body content type should be sent as a property

true

Content Type

String

The content type of the message’s body

Send Encoding

Boolean

Whether or not the body outboundEncoding should be sent as a Message property

true

Encoding

String

The encoding of the message’s body

Reply To

The destination where a reply to this Message should be sent

User Properties

Object

The custom user properties to set for this message

JMSX Properties

The JMSX properties to set for this message

Persistent Delivery

Boolean

If true, the Message is sent using the PERSISTENT JMSDeliveryMode.

Priority

Number

The default JMSPriority value to use when sending the message.

Time To Live

Number

Defines the default time the message is in the broker before it expires and is discarded.

Time To Live Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit to use in the timeToLive configurations.

Disable Message Id

Boolean

If true, flags the message to avoid generating its MessageID.

Disable Message Timestamp

Boolean

If true, flags the message to avoid generating its sent Timestamp.

Delivery Delay

Number

Only used by JMS 2.0. Sets the delivery delay to apply to postpone the message delivery.

Delivery Delay Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit to use in the deliveryDelay configurations.

Reconnection Strategy

A retry strategy in case of connectivity errors.

### For Configurations - [Default Configuration](#config) #### Throws - SERVICEBUS:INVALID\_TOKEN - SERVICEBUS:RETRY\_EXHAUSTED - SERVICEBUS:CONNECTION\_EXCEPTION - SERVICEBUS:UNKNOWN - SERVICEBUS:AMQP\_ERROR - SERVICEBUS:CONNECTIVITY - SERVICEBUS:REST\_ERROR ### Topic Update `` Updates the specified topic from the service bus instance #### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

The name of the configuration to use.

x

Topic Path

String

The name of the topic

x

Topic Description

An InternalTopicDescription object containing the desired values of the topic’s properties that will be updated.

#[payload]

Target Variable

String

The name of a variable that stores the operation’s output.

Target Value

String

An expression that evaluates the operation’s output. The expression outcome is stored in the target variable.

#[payload]

Reconnection Strategy

A retry strategy in case of connectivity errors.

#### Output

Type

Service Bus Topic

### For Configurations - [Default Configuration](#config) #### Throws - SERVICEBUS:INVALID\_TOKEN - SERVICEBUS:RETRY\_EXHAUSTED - SERVICEBUS:CONNECTION\_EXCEPTION - SERVICEBUS:UNKNOWN - SERVICEBUS:AMQP\_ERROR - SERVICEBUS:CONNECTIVITY - SERVICEBUS:REST\_ERROR ### Topics `` Retrieves all existing topics from the service bus instance #### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

The name of the configuration to use.

x

Target Variable

String

The name of a variable that stores the operation’s output.

Target Value

String

An expression that evaluates the operation’s output. The expression outcome is stored in the target variable.

#[payload]

Reconnection Strategy

A retry strategy in case of connectivity errors.

#### Output

Type

Array of Service Bus Topic

### For Configurations - [Default Configuration](#config) #### Throws - SERVICEBUS:INVALID\_TOKEN - SERVICEBUS:RETRY\_EXHAUSTED - SERVICEBUS:CONNECTION\_EXCEPTION - SERVICEBUS:UNKNOWN - SERVICEBUS:AMQP\_ERROR - SERVICEBUS:CONNECTIVITY - SERVICEBUS:REST\_ERROR ## Sources ### Listener `` #### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

The name of the configuration to use.

x

Ack Mode

Enumeration, one of:

  • IMMEDIATE

  • AUTO

  • MANUAL

  • DUPS_OK

The Session ACK mode to use when consuming a message

Number Of Consumers

Number

The number of concurrent consumers to use to receive JMS Messages

1

Primary Node Only

Boolean

Whether this source should be executed only on the primary node when running in a cluster

Redelivery Policy

Defines a policy for processing the redelivery of the same message

Source Type

String

Indicates whether to retrieve messages from a queue or topic.

x

Destination

String

Name of the destination queue, topic, or custom destination type from which to retrieve messages.

x

Subscription

String

Name of the subscription used when subscribing to topics. If the destination is a queue, select NONE.

x

Reconnection Strategy

A retry strategy in case of connectivity errors.

Body

Any

The body of the Message

#[payload]

JMS Type

String

The JMSType identifier header of the Message

Correlation ID

String

The JMSCorrelationID header of the Message

Send Content Type

Boolean

Whether or not the body content type should be sent as a property

true

Content Type

String

Content type of the message body.

Send Encoding

Boolean

Whether or not the body outboundEncoding should be sent as a Message property

true

Encoding

String

Encoding of the message body.

Reply To

The destination where a reply to this Message should be sent

User Properties

Object

The custom user properties to set for this message

JMSX Properties

The JMSX properties to set for this message

Persistent Delivery

Boolean

Whether or not the delivery should be done with a persistent configuration

Priority

Number

The default JMSPriority value to use when sending the message

Time To Live

Number

Defines the default time the message is in the broker before it expires and is discarded

Time To Live Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit to use in the timeToLive configurations

Disable Message Id

Boolean

If true, flags the message to avoid generating its MessageID

Disable Message Timestamp

Boolean

If true, flags the message to avoid generating its sent Timestamp

Delivery Delay

Number

Only used by JMS 2.0. Sets the delivery delay to apply to postpone the message delivery.

Delivery Delay Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit to use in the deliveryDelay configurations

#### Output

Type

Message

Attributes Type

### For Configurations - [Default Configuration](#config) ## Types ### Proxy
FieldTypeDescriptionDefault ValueRequired

Host

String

Hostname or IP address of the proxy server.

Port

String

Port of the proxy server.

Username

String

Username to authenticate against the proxy server.

Password

String

Password to authenticate against the proxy server.

### Advanced
NameTypeDescriptionDefault ValueRequired

Read Timeout

Number

How long a client waits for a response before timing out. 0 specifies that the client waits indefinitely.

60000

Read Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit for the Read Timeout field.

MILLISECONDS

Connection Timeout

Number

How long the connector waits before timing out when establishing a connection to the remote service.

60000

Connection Timeout Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit for the Connection Timeout field.

MILLISECONDS

### TLS
FieldTypeDescriptionDefault ValueRequired

Enabled Protocols

String

Comma-separated list of protocols enabled for this context.

Enabled Cipher Suites

String

Comma-separated list of cipher suites enabled for this context.

Trust Store

Configures the TLS truststore.

Key Store

Configures the TLS keystore.

Revocation Check

Configures a revocation checking mechanism.

### Truststore Configures the truststore for TLS.
FieldTypeDescriptionDefault ValueRequired

Path

String

Path to the truststore. Mule resolves the path relative to the current classpath and file system, if possible.

Password

String

Password used to protect the truststore.

Type

String

Type of truststore.

Algorithm

String

Encryption algorithm that the truststore uses.

Insecure

Boolean

If true, Mule stops performing certificate validations. Setting this to true can make connections vulnerable to attacks.

### Keystore Configures the keystore for the TLS protocol. The keystore you generate contains a private key and a public certificate.
FieldTypeDescriptionDefault ValueRequired

Path

String

Path to the keystore. Mule resolves the path relative to the current classpath and file system, if possible.

Type

String

Type of store used.

Alias

String

Alias of the key to use when the keystore contains multiple private keys. By default, Mule uses the first key in the file.

Key Password

String

Password used to protect the private key.

Password

String

Password used to protect the keystore.

Algorithm

String

Encryption algorithm that the keystore uses.

### Standard Revocation Check Configures standard revocation checks for TLS certificates.
FieldTypeDescriptionDefault ValueRequired

Only End Entities

Boolean

Which elements to verify in the certificate chain:

  • true

Verify only the last element in the certificate chain.

  • false

Verify all elements in the certificate chain.

Prefer Crls

Boolean

How to check certificate validity:

  • true

Check the Certification Revocation List (CRL) for certificate validity.

  • false

Use the Online Certificate Status Protocol (OCSP) to check certificate validity.

No Fallback

Boolean

Whether to use the secondary method to check certificate validity:

  • true

Use the method that wasn’t specified in the Prefer Crls field (the secondary method) to check certificate validity.

  • false

Do not use the secondary method to check certificate validity.

Soft Fail

Boolean

What to do if the revocation server can’t be reached or is busy:

  • true

Avoid verification failure.

  • false

Allow the verification to fail.

### Reconnection
FieldTypeDescriptionDefault ValueRequired

Fails Deployment

Boolean

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

Reconnection Strategy

The reconnection strategy to use.

### Reconnect
FieldTypeDescriptionDefault ValueRequired

Frequency

Number

How often in milliseconds to reconnect.

Count

Number

How many reconnection attempts to make.

blocking

Boolean

If false, the reconnection strategy runs in a separate, non-blocking thread.

true

### Reconnect Forever
FieldTypeDescriptionDefault ValueRequired

Frequency

Number

How often in milliseconds to reconnect.

blocking

Boolean

If false, the reconnection strategy runs in a separate, non-blocking thread.

true

### Expiration Policy
FieldTypeDescriptionDefault ValueRequired

Max Idle Time

Number

A scalar time value for the maximum amount of time a dynamic configuration instance should be allowed to be idle before it’s considered eligible for expiration

Time Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

A time unit that qualifies the maxIdleTime attribute

### Service Bus JMS Attributes
FieldTypeDescriptionDefault ValueRequired

Properties

Container element for all the properties present in a JMS Message.

x

Headers

All the possible headers of a JMS message.

x

Ack Id

String

Session ackID that acknowledges the current message if available. If not, the ackID is null.

### JMS Message Properties
FieldTypeDescriptionDefault ValueRequired

All

Object

All the properties of the JMS message as a flattened map.

x

User Properties

Object

User-provided properties of the JMS message.

x

Jms Properties

Object

JMS message broker and provider properties.

x

Jmsx Properties

JMSX properties of the JMS message.

x

### JMSX Properties
FieldTypeDescriptionDefault ValueRequired

Jmsx User ID

String

User identity that sends the message.

Jmsx App ID

String

Identity of the application that sends the message.

Jmsx Delivery Count

Number

Number of message delivery attempts.

Jmsx Group ID

String

Message group identity of the message.

Jmsx Group Seq

Number

Sequence number of the message in the group.

Jmsx Producer TXID

String

Identifier of the transaction that produced the message.

Jmsx Consumer TXID

String

Identifier of the transaction that consumed the message.

Jmsx Rcv Timestamp

Number

The time JMS delivered the message to the consumer.

### JMS Headers
FieldTypeDescriptionDefault ValueRequired

Destination

Destination of the sent message.

x

Delivery Mode

Number

Delivery mode of the message.

x

Expiration

Number

Expiration time of the message, expressed in number of milliseconds elapsed since midnight January 1, 1970, UTC. If set to 0, the message does not expire.

x

Priority

Number

Priority of the message, from 0-9. Higher numbers signify a higher priority.

x

Message Id

String

Unique ID of the message.

Timestamp

Number

Time a message is handed to a JMS provider to be sent, expressed in number of milliseconds elapsed since midnight January 1, 1970, UTC.

x

Correlation Id

String

JMSCorrelationID header of the message.

Reply To

Destination of where a reply to this message is sent.

Type

String

Type of this destination.

x

Redelivered

Boolean

Set to true when the JMS provider has delivered the message at least once before.

false

Delivery Time

Number

Time the message is delivered.

### Redelivery Policy
FieldTypeDescriptionDefault ValueRequired

Max Redelivery Count

Number

The maximum number of times a message can be redelivered and processed unsuccessfully before triggering process-failed-message

Use Secure Hash

Boolean

Whether to use a secure hash algorithm to identify a redelivered message.

Message Digest Algorithm

String

The secure hashing algorithm to use.

SHA-256

Id Expression

String

Defines one or more expressions used to determine when a message has been redelivered. This property can be set only when useSecureHash is false.

Object Store

Object Store

The object store where the redelivery counter for each message is going to be stored.

### Service Bus JMS Destination
FieldTypeDescriptionDefault ValueRequired

Destination

String

Name that identifies the destination of where to send a reply to the message.

x

Destination Type

Enumeration, one of:

  • QUEUE

  • TOPIC

Type of this destination.

QUEUE

### Service Bus Queue The queue is represented by an object containing the following fields:
FieldTypeDescriptionDefault ValueRequired

Author

String

Author of the ServiceBusQueue object.

Id

String

Unique identifier of the ServiceBusQueue object.

Link

String

Link of the ServiceBusQueue object.

Published

Date

Date when the ServiceBusQueue object is published, expressed in number of milliseconds elapsed since midnight January 1, 1970, UTC.

Queue Description

ServiceBusQueueDescription object containing the desired values of the queue’s properties that is created.

Title

String

Title of the ServiceBusQueue object.

Updated

Date

Date when the ServiceBusQueue object is updated, expressed in number of milliseconds elapsed since midnight January 1, 1970, UTC.

### Service Bus Queue Description
FieldTypeDescriptionDefault ValueRequired

Lock Duration

String

Determines the amount of time in seconds in which a message should be locked for processing by a receiver. After this period, the message is unlocked and available for consumption by the next receiver. Settable only at queue creation time. Valid values: Range: 0 - 5 minutes. 0 means that the message is not locked. Format: PTx3Mx4S, where x1 number of days, x2 number of hours, x3 number of minutes, x4 number of seconds (Examples: PT5M (5 minutes), PT1M30S (1 minute, 30 seconds)).

PT1M

Max Size In Megabytes

Number

Specifies the maximum queue size in megabytes. Any attempt to enqueue a message that causes the queue to exceed this value fails. Valid values are: 1024, 2048, 3072, 4096, 5120

1024

Requires Duplicate Detection

Boolean

Settable only at queue creation time.

false

Requires Session

Boolean

Settable only at queue creation time. If set to true, the queue will be session-aware and only SessionReceiver will be supported. Session-aware queues are not supported through REST.

false

Dead Lettering On Message Expiration

Boolean

This field controls how the Service Bus handles a message with an expired TTL. If it is enabled and a message expires, Service Bus moves the message from the queue into the queue’s dead-letter sub-queue. If disabled, message is permanently deleted from the queue. Settable only at queue creation time.

false

Enable Batched Operations

Boolean

Enables or disables service-side batching behavior when performing operations for the specific queue. When enabled, Service Bus collects or batches multiple operations to the back end, to be more efficient with the connection. If you want lower operation latency, you can disable this feature.

true

Default Message Time To Live

String

Depending on whether DeadLettering is enabled, a message is automatically moved to the DeadLetterQueue or deleted if it has been stored in the queue for longer than the specified time. This value is overwritten by a TTL specified on the message if and only if the message TTL is smaller than the TTL set on the queue. This value is immutable after the queue has been created. Format: Px1DTx2Hx3Mx4S, where x1 number of days, x2 number of hours, x3 number of minutes, x4 number of seconds (Examples: PT10M (10 minutes), P1DT2H (1 day, 2 hours)

P10675199DT2H48M5.4775807S

Duplicate Detection History Time Window

String

Specifies the time span during which Service Bus detects message duplication Valid values: Range: 1 second - 7 days. Format: Px1DTx2Hx3Mx4S, where x1 number of days, x2 number of hours, x3 number of minutes, x4 number of seconds (Examples: PT10M (10 minutes), P1DT2H (1 day, 2 hours)).

PT10M

Max Delivery Count

Number

The maximum number of times Service Bus tries to deliver a message before being dead-lettered or discarded.

10

### Service Bus Rule Represents a rule for processing messages. Service Bus matches messages with the filter represented by its `Filter` property and performs actions represented by its `Action` property, against the messages that match the filter.
FieldTypeDescriptionDefault ValueRequired

Id

String

Unique identifier of the ServiceBusRule object.

Link

String

Link of the ServiceBusRule object.

Published

Date

Date when the ServiceBusRule object is published, expressed in number of milliseconds elapsed since midnight January 1, 1970, UTC.

Rule Description

ServiceBusRuleDescription object containing the desired values of the properties of the rule that is created.

Title

String

Title of the ServiceBusRule object.

Updated

Date

Date when the ServiceBusRule object is updated, expressed in number of milliseconds elapsed since midnight January 1, 1970, UTC.

### Service Bus Rule Description
FieldTypeDescriptionDefault ValueRequired

Action

The action that the rule performs

Filter

The filter for the associated subscription

### Service Bus Rule Action
FieldTypeDescriptionDefault ValueRequired

Sql Expression

String

The SQL expression for the action to perform

Type

Enumeration, one of:

  • SqlRuleAction

A type of FilterAction that represents an SQL expression.

  • EmptyRuleAction

A type of FilterAction that represents an empty action.

Type of the ServiceBusRuleAction object.

### Service Bus Rule Filter
FieldTypeDescriptionDefault ValueRequired

Correlation Id

String

The ID to match if this filter is a correlation filter

Sql Expression

String

The SQL expression for the action to perform

Type

Enumeration, one of:

  • SqlFilter

A type of filter that represents an SQL expression.

  • TrueFilter

Shortcut for returning true. It is a type of SqlFilter.

  • FalseFilter

Shortcut for returning false. It is a type of SqlFilter.

  • CorrelationFilter

A type of filter that matches the correlationId property of BrokeredMessage.

Type of the ServiceBusRuleFilter object.

### Service Bus Subscription The subscription is represented by an object containing the following fields:
FieldTypeDescriptionDefault ValueRequired

Id

String

Unique identifier of the ServiceBusSubscription object.

Link

String

Link of the ServiceBusSubscription object.

Published

Date

Date when the ServiceBusSubscription object is published, expressed in number of milliseconds elapsed since midnight January 1, 1970, UTC.

Subscription Description

ServiceBusSubscriptionDescription object containing the desired values of the properties of the subscription that is created.

Title

String

Title of the ServiceBusSubscription object.

Updated

Date

Date when the ServiceBusSubscription object is updated, expressed in number of milliseconds elapsed since midnight January 1, 1970, UTC.

### Service Bus Subscription Description
FieldTypeDescriptionDefault ValueRequired

Lock Duration

String

The default lock duration is applied to subscriptions that do not define a lock duration. You can only set this property at subscription creation time. Valid values: Range: 0 - 5 minutes. 0 means that the message is not locked. Format: PTx3Mx4S, where x1 number of days, x2 number of hours, x3 number of minutes, x4 number of seconds (Examples: PT5M (5 minutes), PT1M30S (1 minute, 30 seconds)).

PT1M

Requires Session

Boolean

You can only set this property at subscription creation time. If set to true, the subscription will be session-aware and only SessionReceiver will be supported. Session-aware subscriptions are not supported through REST.

false

Dead Lettering On Message Expiration

Boolean

This field controls how Service Bus handles a message with an expired TTL. If it is enabled and a message expires, Service Bus moves the message from the queue into the subscription’s dead-letter sub-queue. If disabled, message is permanently deleted from the subscription’s main queue. Settable only at subscription creation time.

false

Dead Lettering On Filter Evaluation Exceptions

Boolean

Determines how Service Bus handles a message that causes an exception during a subscription’s filter evaluation. If the value is set to true, the message that caused the exception is moved to the subscription’s dead-letter queue. Otherwise, it is discarded. By default, this parameter is set to true, enabling you to investigate the cause of the exception. It can occur from a malformed message or some incorrect assumptions being made in the filter about the form of the message. Settable only at subscription creation time.

false

Enable Batched Operations

Boolean

Enables or disables service-side batching behavior when performing operations for the specific queue. When enabled, Service Bus will collect/batch multiple operations to the backend to be more connection efficient. If you want lower operation latency, then you can disable this feature.

false

Default Message Time To Live

String

Determines how long a message lives in the subscription. Based on whether dead-lettering is enabled, a message whose Time To Live (TTL) has expired is either moved to the subscription’s associated DeadLetterQueue, or permanently deleted. If the topic specifies a smaller TTL than the subscription, the topic TTL is applied. Format: Px1DTx2Hx3Mx4S, where x1 number of days, x2 number of hours, x3 number of minutes, x4 number of seconds (Examples: PT10M (10 minutes), P1DT2H (1 day, 2 hours)

P10675199DT2H48M5.4775807S

Max Delivery Count

Number

The maximum number of times Service Bus tries to deliver a message before that message is dead lettered or discarded.

10

### Service Bus Topic The topic is represented by an object containing the following fields:
FieldTypeDescriptionDefault ValueRequired

Author

String

Author of the ServiceBusTopic object.

Id

String

Unique identifier of the ServiceBusTopic object.

Link

String

Link of the ServiceBusTopic object.

Published

Date

Date when the ServiceBusTopic object is published, expressed in number of milliseconds elapsed since midnight January 1, 1970, UTC.

Title

String

Title of the ServiceBusTopic object.

Topic Description

ServiceBusTopicDescription object containing the desired values of the properties of the topic that is created.

Updated

Date

Date when the ServiceBusTopic object is updated, expressed in number of milliseconds elapsed since midnight January 1, 1970, UTC.

### Service Bus Topic Description
FieldTypeDescriptionDefault ValueRequired

Max Size In Megabytes

Number

Specifies the maximum queue size in megabytes. Any attempt to enqueue a message that will cause the queue to exceed this value fails. Valid values are: 1024, 2048, 3072, 4096, 5120

1024

Requires Duplicate Detection

Boolean

If enabled, the topic detects duplicate messages within the time span specified by the DuplicateDetectionHistoryTimeWindow property. Settable only at topic creation time.

false

Enable Batched Operations

Boolean

Enables or disables service side batching behavior when performing operations for the specific queue. When enabled, Service Bus collects/batches multiple operations to the back end to be more connection efficient. If you want lower operation latency, you can disable this feature.

true

Default Message Time To Live

String

Determines how long a message lives in the associated subscriptions. Subscriptions inherit the TTL from the topic unless they are created explicitly with a smaller TTL. Based on whether dead-lettering is enabled, a message whose TTL has expired will either be moved to the subscription’s associated DeadLetterQueue or will be permanently deleted. Format: Px1DTx2Hx3Mx4S, where x1 number of days, x2 number of hours, x3 number of minutes, x4 number of seconds (Examples: PT10M (10 minutes), P1DT2H (1 day, 2 hours)).

P10675199DT2H48M5.4775807S

Duplicate Detection History Time Window

String

Specifies the time span during which Service Bus detects message duplication Valid values: Range: 1 second - 7 days. Format: Px1DTx2Hx3Mx4S, where x1 number of days, x2 number of hours, x3 number of minutes, x4 number of seconds (Examples: PT10M (10 minutes), P1DT2H (1 day, 2 hours)).

PT10M

### Default Caching
FieldTypeDescriptionDefault ValueRequired

Session Cache Size

Number

Number of sessions to cache.

Cache Producers

Boolean

true if the ConnectionFactory should cache the MessageProducers

true

Cache Consumers

Boolean

true if the ConnectionFactory should cache the MessageConsumers

true

### Topic Consumer
FieldTypeDescriptionDefault ValueRequired

Topic Consumer

Points to the Topic Consumer type.

x

Topic Subscription

Points to the Topic Subscription type.

x

### Topic Subscription
FieldTypeDescriptionDefault ValueRequired

Topic Path

String

Name of the topic where the subscription is created.

x

Subscription Path

String

Name of the subscription that is created.

### Service Bus Queue Consumer
FieldTypeDescriptionDefault ValueRequired

Queue Consumer

queue-consumer

ConsumerType that marks the consumed destination as a queue.

Source Queue

String

Queue that receives events.

Number Of Consumers

Number

The number of concurrent consumers to use to receive JMS Messages

4

## See Also [Salesforce Help](https://help.salesforce.com) --- product: Microsoft Service Bus Connector version: 2.2 is-latest-version: true --- # Microsoft Service Bus Connector Troubleshooting > For the full documentation index, see: https://docs.mulesoft.com/llms.txt ## Timeout Error If the Mule app includes the **Listener** source, you might receive an error like this: `javax.jms.JMSException: The operation did not complete within the allocated time 00:00:14.9951934 for object connection` If you receive this error when starting the app or calling an operation, check whether the Service Bus server has the `Redirect` feature enabled. If so, disable this feature by following the steps documented in the Known Issues section on this page: [AMQP Java clients (and all non .NET clients) cannot send or receive to/from Service Bus](https://docs.mulesoft.com/microsoft-service-bus-connector/latest/%3Chttps://learn.microsoft.com/en-us/previous-versions/service-bus-archive/dn282143(v=azure.100)>). ## Failed Connectivity Test If a connectivity test fails during application startup and you see the following statement in the stack trace, configure a reconnection strategy for the connector: ```xml org.mule.runtime.api.connection.ConnectionException: SSL certificate error org.mule.runtime.api.connection.ConnectionException: SSL certificate error Caused by: javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No subject alternative names matching IP address 99.99.99.99 found Caused by: javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No subject alternative names matching IP address 99.99.99.99 found Caused by: javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No subject alternative names matching IP address 99.99.99.99 found at sun.security.ssl.Alerts.getSSLException(Alerts.java:192) at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1946) at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:316) at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:310) at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1639) at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:223) at sun.security.ssl.Handshaker.processLoop(Handshaker.java:1037) at sun.security.ssl.Handshaker.process_record(Handshaker.java:965) at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1064) at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1367) at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1395) at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1379) at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559) at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185) at sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1340) at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1315) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:264) at com.mulesoft.connectors.microsoft.servicebus.extension.internal.connection.provider.WindowsConnectionProvider.doRequestToSTS(WindowsConnectionProvider.java:179) at com.mulesoft.connectors.microsoft.servicebus.extension.internal.connection.provider.WindowsConnectionProvider.getSASToken(WindowsConnectionProvider.java:163) at com.mulesoft.connectors.microsoft.servicebus.extension.internal.connection.provider.WindowsConnectionProvider.createRestFacade(WindowsConnectionProvider.java:200) at com.mulesoft.connectors.microsoft.servicebus.extension.internal.connection.provider.WindowsConnectionProvider.connect(WindowsConnectionProvider.java:133) at com.mulesoft.connectors.microsoft.servicebus.extension.internal.connection.provider.WindowsConnectionProvider.connect(WindowsConnectionProvider.java:67) at org.mule.runtime.module.extension.internal.runtime.config.ClassLoaderConnectionProviderWrapper.connect(ClassLoaderConnectionProviderWrapper.java:60) at org.mule.runtime.core.internal.connection.ConnectionUtils.connect(ConnectionUtils.java:49) at org.mule.runtime.core.internal.connection.AbstractConnectionProviderWrapper.connect(AbstractConnectionProviderWrapper.java:64) at org.mule.runtime.core.internal.connection.ErrorTypeHandlerConnectionProviderWrapper.connect(ErrorTypeHandlerConnectionProviderWrapper.java:64) at org.mule.runtime.core.internal.connection.ConnectionUtils.connect(ConnectionUtils.java:49) at org.mule.runtime.core.internal.connection.AbstractConnectionProviderWrapper.connect(AbstractConnectionProviderWrapper.java:64) at org.mule.runtime.core.internal.connection.DefaultConnectionProviderWrapper.connect(DefaultConnectionProviderWrapper.java:52) at org.mule.runtime.core.internal.connection.CachedConnectionManagementStrategy.createConnection(CachedConnectionManagementStrategy.java:95) at org.mule.runtime.core.api.util.func.CheckedSupplier.get(CheckedSupplier.java:25) at org.mule.runtime.api.util.LazyValue.get(LazyValue.java:77) at org.mule.runtime.core.internal.connection.CachedConnectionManagementStrategy.getConnectionHandler(CachedConnectionManagementStrategy.java:63) at org.mule.runtime.core.internal.connection.DefaultConnectionManager.getConnection(DefaultConnectionManager.java:241) at org.mule.runtime.core.internal.connection.DefaultConnectionManager.lambda$testConnectivity$1(DefaultConnectionManager.java:160) at org.mule.runtime.core.internal.connection.DefaultConnectionManager.doTestConnectivity(DefaultConnectionManager.java:176) at org.mule.runtime.core.internal.connection.DefaultConnectionManager.testConnectivity(DefaultConnectionManager.java:152) at org.mule.runtime.core.internal.connection.DelegateConnectionManagerAdapter$EagerConnectionManagerAdapter.testConnectivity(DelegateConnectionManagerAdapter.java:176) at org.mule.runtime.core.internal.connection.DelegateConnectionManagerAdapter.testConnectivity(DelegateConnectionManagerAdapter.java:98) at org.mule.runtime.module.extension.api.tooling.ExtensionConnectivityTestingStrategy.testConnectivity(ExtensionConnectivityTestingStrategy.java:82) at org.mule.runtime.core.internal.connectivity.DefaultConnectivityTestingService.testConnection(DefaultConnectivityTestingService.java:88) at org.mule.runtime.config.internal.LazyConnectivityTestingService.testConnection(LazyConnectivityTestingService.java:57) at com.mulesoft.agent.services.tooling.MuleAgentConnectivityTestingService.testConnection(MuleAgentConnectivityTestingService.java:77) at com.mulesoft.agent.external.handlers.tooling.ToolingRequestHandler.lambda$applicationTestConnection$19(ToolingRequestHandler.java:482) at com.mulesoft.agent.util.ResponseHelper.response(ResponseHelper.java:88) at com.mulesoft.agent.external.handlers.tooling.ToolingRequestHandler.applicationTestConnection(ToolingRequestHandler.java:481) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81) at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:151) at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:171) at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:152) at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:104) at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:387) at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:331) at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:103) at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:271) at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271) at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267) at org.glassfish.jersey.internal.Errors.process(Errors.java:315) at org.glassfish.jersey.internal.Errors.process(Errors.java:297) at org.glassfish.jersey.internal.Errors.process(Errors.java:267) at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:297) at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:254) at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1028) at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:372) at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:381) at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:344) at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:221) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:876) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1623) at com.mulesoft.agent.rest.RequestLoggingFilter.doFilter(RequestLoggingFilter.java:95) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:540) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:146) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:257) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1711) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1347) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:480) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1678) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1249) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) at org.eclipse.jetty.server.Server.handle(Server.java:505) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:370) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:267) at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305) at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103) at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:117) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produce(EatWhatYouKill.java:132) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:781) at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:917) at java.lang.Thread.run(Thread.java:748) Caused by: java.security.cert.CertificateException: No subject alternative names matching IP address 99.99.99.99 found at sun.security.util.HostnameChecker.matchIP(HostnameChecker.java:168) at sun.security.util.HostnameChecker.match(HostnameChecker.java:94) at sun.security.ssl.X509TrustManagerImpl.checkIdentity(X509TrustManagerImpl.java:462) at sun.security.ssl.X509TrustManagerImpl.checkIdentity(X509TrustManagerImpl.java:442) at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:209) at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:132) at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1621) ... 98 more---- ``` You need to setup the TlsContext to setup a trust store with the flag insecure to "true" For the Windows Connection Provider: ```xml ``` For the Username Connection Provider: For the Shared Access Signature provider Connection Provider: ## See Also - [Introduction to Anypoint Connectors](https://docs.mulesoft.com/connectors/introduction/introduction-to-anypoint-connectors) - [Salesforce Help](https://help.salesforce.com) - [Known Issues](https://help.salesforce.com/s/issues)