[esb-issues] [JBoss JIRA] Updated: (JBESB-2752) Message lost in case of exception in Message Composer

Boris Belovic (JIRA) jira-events at lists.jboss.org
Fri Jul 17 05:26:29 EDT 2009


     [ https://jira.jboss.org/jira/browse/JBESB-2752?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Boris Belovic updated JBESB-2752:
---------------------------------

    Attachment: custom_composer.tar.gz


> Message lost in case of exception in Message Composer
> -----------------------------------------------------
>
>                 Key: JBESB-2752
>                 URL: https://jira.jboss.org/jira/browse/JBESB-2752
>             Project: JBoss ESB
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Rosetta
>    Affects Versions: 4.4 CP2
>         Environment: Fedora 11, 4.3.0.GA_CP01_SOA
>            Reporter: Boris Belovic
>         Attachments: custom_composer.tar.gz
>
>
> I have written (very simple) custom composer class. It just receives a JMSObjectMessage and according to message contents it creates an ESB-aware message or throws an exception. The creation of ESB aware message works fine and the message is properly delivered to receiver.  In the second case an exception is thrown and the original message should be redelivered, but this is not happening. Instead of redelivery, message is lost.
> In case that an exception is thrown, the original message should be routed to deadletter queue. But when I try to obtain this message from the deadletter queue (either queue/DLQ or using a MessageStore instance), the queue is empty. It contains no messages and the message is lost.
> I also tried to use jca-provider instead of jms-provider. This provider was also unable to deliver message to proper receiver. JCA provider tried several times to redeliver message, but after all the message ended up in DLQ queue (queue/DLQ).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the esb-issues mailing list