2.14 Setup for Azure SB - jmstoolbox/jmstoolbox GitHub Wiki

Microsoft Azure SB

Introduction: https://docs.microsoft.com/en-us/azure/service-bus-messaging/how-to-use-java-message-service-20

Requirements

  • A Service Bus namespace in Premium tier with JMS 2.0
  • A Service Bus connection string containingManage,ListandSendclaims

Extra JARS

No extra jar is needed as JMSToolBox is bundled with the latest Azure Service Bus jars

Remarks on session setup

The session definition requires either:

  • the usage of a 'Service Bus connection string' set in properties
  • the usage of the host, user and password fields set on the main session definition page

In the former case, dummy values for host and port must be provided

Connection Properties

Name Description
Host if the 'connectionString' property is not provided, the Azure Service Bus host name (eg abcdef.servicebus.windows.net), otherwise a dummy string"
Port if the 'connectionString' property is not provided, 5672, otherwise a dummy value
User/Password if the 'connectionString' property is not provided, Azure Service BusSAS keyname andSAS key, otherwise leave empty

Properties

Name Description
connectionString Azure Service Bus connection string
idleTimeout AMQP connection idle timeout
traceAmqpFrames Whether to enable AMQP level logging: https://qpid.apache.org/releases/qpid-jms-0.54.0/docs/index.html#logging

For other optional properties, please check ServiceBusJmsConnectionFactorySettings for updated descriptions.