[
https://issues.apache.org/jira/browse/MAILET-161?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Raphaël Ouazana closed MAILET-161.
----------------------------------
Resolution: Fixed
Merged https://github.com/linagora/james-project/pull/1302/
> 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
> Priority: Major
>
> 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)