App Connect

App Connect

Join this online user group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only

JMS connection to Azure Service Bus

  • 1.  JMS connection to Azure Service Bus

    Posted Thu February 22, 2024 03:36 PM

    Hi

    I am trying to connect Azure Service Bus via the JMS input node from IBM ACE, using the reference provided in the below links

    I am unable to get this working. Any thoughts on what am I missing ? Appreciate your help.

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

    https://learn.microsoft.com/en-us/azure/service-bus-messaging/jms-developer-guide?tabs=JMS-20%2Csystem-assigned-managed-identity-backed-authentication

    1. I have added the required jar files in the shared-classes folder as mentioned in the above link
    2. Created JMS policy, JNDI properties as shown below.  But I am unable to make it work as I get an exception
      ' io.netty.channel.StacklessClosedChannelException, Failure to obtain JMS Connection io.netty.channel.StacklessClosedChannelException io.netty.channel.StacklessClosedChannelException'
    3. There is no firewall restriction as I was able to telnet to the service bus ports : 443, 5671 & 5672
    4. JNDI properties:
      connectionfactory.SBCF = amqps://<servicebus_host>?amqp.idleTimeout=120000
      property.connectionfactory.SBCF.username = xxxxx
      property.connectionfactory.SBCF.password = xxxxxx
      queue.QUEUE = test.q
    5.  JMS Policy



    ------------------------------
    Ashik Iqbal
    ------------------------------