Closed elmodeer closed 2 months ago
Why not using the Solace connector? https://github.com/SolaceLabs/solace-quarkus
@cescoffier cause we are already using the amqp connector to connect to the solace broker, but it was only consuming.
Are you suggesting that cause it is easier with the connector, or because this usecase is not supported by the amqp connector in smallrye ?
This is a question for the Solace AMQP 1.0 support. I can find this on the Solace Doc : https://docs.solace.com/API/AMQP/Msg-Pub.htm#Specifyi2
A client specifies that messages are to be published to a topic by formatting the destination as follows: topic://topic-string The topic:// prefix is recommended when publishing to a topic and isn't case sensitive. If a prefix isn't part of the destination, and the destination doesn’t start with #, the event broker will assume the message is intended for delivery to a queue, as long as no other setting has been used to specify the destination type.
thanks @ozangunalp. This solved it.
We have a Quarkus app that uses the
smallrye-amqp
connector. I have the following code for publishing messages to a topic.when calling this hook I get the following exception:
what am I doing wrong ?