Thank you so much.
We have changed and it is working
On 02/20/2019 09:23 AM, Gordon Sim wrote:
On 20/02/2019 9:10 am, Jose Alberto Fernandez Parejo wrote:
We are using rabbitmq broker and we would like to use qpid-cpp-1.38.0
API to send/receive message to/from rabbitmq broker.
When we send to a queue works ok. But the problem is when we try to send
to a exchange.Is there any way to send to an exchange from
qpid-cpp-1.38.0 to rabbitmq broker?
You don't describe what the problem you are having is. To send to an
exchange on rabbitmq via the 1.0 plugin[1] you use the '/exchange/'
prefix to the address. The qpid::messaging API treats the '/' as
special, separating the address from a 'subject'. To avoid that you
can quote the address. So e.g. try sending to:
"'/exchange/my-exchange/'" or "'/exchange/my-exchange/my-key'"
The rabbitmq 1.0 plugin also recognises '/topic/' prefix is a shortcut
for the amq.topic standard exchange so you could also do
"'/topic/my-key'"
[1] https://github.com/rabbitmq/rabbitmq-amqp1.0/blob/v3.7.12/README.md
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
.
________________________________
Este correo electrónico y, en su caso, cualquier fichero anexo al mismo,
contiene información de carácter confidencial exclusivamente dirigida a su
destinatario o destinatarios. Si no es vd. el destinatario indicado, queda
notificado que la lectura, utilización, divulgación y/o copia sin autorización
está prohibida en virtud de la legislación vigente. En el caso de haber
recibido este correo electrónico por error, se ruega notificar inmediatamente
esta circunstancia mediante reenvío a la dirección electrónica del remitente.
Evite imprimir este mensaje si no es estrictamente necesario.
This email and any file attached to it (when applicable) contain(s)
confidential information that is exclusively addressed to its recipient(s). If
you are not the indicated recipient, you are informed that reading, using,
disseminating and/or copying it without authorisation is forbidden in
accordance with the legislation in effect. If you have received this email by
mistake, please immediately notify the sender of the situation by resending it
to their email address.
Avoid printing this message if it is not absolutely necessary.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]