You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Balazs Szeti <sz...@gmail.com> on 2018/02/23 19:47:13 UTC
Camel with Azure Service Bus claims-based-security (CBS) authentication
Hi Camel Users,
Do you have experience with Camel connecting to Microsoft Azure Service Bus
topics via AMQP protocol?
The camel-jms or camal-amqp components works fine, but I have a problem
with authentication. There are two ways to authenticate against Azure:
- SASL PLAIN: passing username/password. Works as described here
<https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-java-how-to-use-jms-api-amqp>
.
- Claims-based-security (CBS)
<https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-sas#use-the-shared-access-signature-at-amqp-level>:
The client has to authenticate via a special '$cbs' channel
<https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-amqp-protocol-guide>first,
then can send/receive messages within that session
I'm expected use CBS authentication (for whatever reasons), but couldn't
get it working from Java especially not with Camel. (Microsoft provides a
library for .NET, but I couldn't find a java lib)
Is there anyone who managed to use Azure Service Bus with CBS
authentication via AMQP?
Thanks,
Balazs