On 7/12/20 2:28 PM, vishnu pk wrote:
Hi Team,

Im using Qpid lib jars to establish a connection from a third party
application to AMQP Azure Service Bus. I'm looking for a property variable
for *PROXY *host settings but couldn't find one. May i know if there is a
way to use a proxy within Qpid Client property.

QPID JMS CLient Version :  Version: 0.52.0

Below are the current properties used for connection establishment.

connectionfactory.myFactoryLookup = amqps://<<HOST>>.
servicebus.windows.net?jms.username=<<UserName>>&jms.password=<<Password>>
queue.QUEUE = <<QueueName>>

Appreciate your help!

Regards
Vishnu

You can use a proxy by supplying the client connection factory a Netty ProxyHandler that is configured for the type of proxy you intend to use.  Some sames are available in the tests for this feature here:

https://github.com/apache/qpid-jms/blob/master/qpid-jms-client/src/test/java/org/apache/qpid/jms/integration/ProxyIntegrationTest.java

You can also review the JIRA issue where this feature was added for more context:

https://issues.apache.org/jira/browse/QPIDJMS-441


--
Tim Bish

Reply via email to