Resolving the error "reply-code=404, reply-text=NOT_FOUND - no exchange 'name of the exchange' in vhost '/', class-id=60, method-id=40" in AMQP Send Message Activity

Resolving the error "reply-code=404, reply-text=NOT_FOUND - no exchange 'name of the exchange' in vhost '/', class-id=60, method-id=40" in AMQP Send Message Activity

book

Article ID: KB0073801

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks Plug-in for AMQP 6.1.0

Description

While using “TIBCO ActiveMatrix BusinessWorks™ Plug-in for AMQP” to send a message to a AMQP broker the customer’s will face the below error when sending a message to the broker: - 

--
ERROR com.tibco.bw.palette.amqp.runtime.send.AmqpSendActivity - TIBCO-BW-PALETTE-AMQP-500007: Error occurred while attempting to send a message channel error; protocol method: #method<channel.close>(reply-code=404, reply-text=NOT_FOUND - no exchange 'name of the exchange' in vhost '/', class-id=60, method-id=40).
--

If the customer's enable the debug logs the following can be seen in the same. 

--
INFO com.tibco.bw.palette.amqp.runtime.send.AmqpSendActivity - TIBCO-BW-PALETTE-AMQP-200001: Create the channel
DEBUG com.tibco.bw.palette.amqp.runtime.send.AmqpSendActivity - TIBCO-BW-PALETTE-AMQP-200001: MessageType is ....
ERROR com.tibco.bw.palette.amqp.runtime.send.AmqpSendActivity - TIBCO-BW-PALETTE-AMQP-500007: Error occurred while attempting to send a message channel error; protocol method: #method<channel.close>(reply-code=404, reply-text=NOT_FOUND - no exchange 'name of the exchange' in vhost '/', class-id=60, method-id=40).

--

Causes: - 

1.    The Exchange Name could be wrong.
2.    Either Exchange is not created or it got deleted due to manual intervention.
 

Environment

OS : ALL

Issue/Introduction

TIBCO-BW-PALETTE-AMQP-500007 : Error occurred while attempting to send a message to AMQP broker using Amqp Send Activity of the plugin.

Additional Information

Please check if the exchange is present at the AMQP brokers end and is bound to the respective queue or exchange.