You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mailet-api@james.apache.org by "Raphaël Ouazana (JIRA)" <ma...@james.apache.org> on 2018/02/26 15:36:00 UTC
[jira] [Created] (MAILET-161) AmqpForwardAttribute mailet should
deliver the mail even if the exchange is not created
Raphaël Ouazana created MAILET-161:
--------------------------------------
Summary: AmqpForwardAttribute mailet should deliver the mail even if the exchange is not created
Key: MAILET-161
URL: https://issues.apache.org/jira/browse/MAILET-161
Project: James Mailet
Issue Type: Improvement
Reporter: Raphaël Ouazana
If this mailets try to send a message to an exchange that does not exist, it fails with the following error:
{{ERROR org.apache.james.mailetcontainer.impl.camel.CamelProcessor - Exception calling AmqpForwardAttribute: channel is already closed due to channel error; protocol method: #method<channel.close>(reply-code=404, reply-text=NOT_FOUND - no exchange 'collector:email' in vhost '/', class-id=40, method-id=10)}}
{{com.rabbitmq.client.AlreadyClosedException: channel is already closed due to channel error; protocol method: #method<channel.close>(reply-code=404, reply-text=NOT_FOUND - no exchange 'collector:email' in vhost '/', class-id=40, method-id=10)}}
{{ at com.rabbitmq.client.impl.AMQChannel.processShutdownSignal(AMQChannel.java:286)}}
{{ at com.rabbitmq.client.impl.ChannelN.startProcessShutdownSignal(ChannelN.java:282)}}
{{ at com.rabbitmq.client.impl.ChannelN.close(ChannelN.java:596)}}
{{ at com.rabbitmq.client.impl.ChannelN.close(ChannelN.java:530)}}
{{ at com.rabbitmq.client.impl.ChannelN.close(ChannelN.java:523)}}
{{ at com.rabbitmq.client.impl.recovery.AutorecoveringChannel.close(AutorecoveringChannel.java:68)}}
{{ at org.apache.james.transport.mailets.AmqpForwardAttribute.sendContent(AmqpForwardAttribute.java:148)}}
{{ at org.apache.james.transport.mailets.AmqpForwardAttribute.service(AmqpForwardAttribute.java:113)}}
{{ at org.apache.james.mailetcontainer.impl.camel.CamelProcessor.process(CamelProcessor.java:84)}}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)