You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2009/07/28 15:37:36 UTC

[jira] Resolved: (CAMEL-1860) Mock endpoint - add before methods for whenExchangeReceived to better simulate errors

     [ https://issues.apache.org/activemq/browse/CAMEL-1860?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-1860.
--------------------------------

    Resolution: Won't Fix

Didnt work out as well as I expected.

> Mock endpoint - add before methods for whenExchangeReceived to better simulate errors
> -------------------------------------------------------------------------------------
>
>                 Key: CAMEL-1860
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1860
>             Project: Apache Camel
>          Issue Type: New Feature
>          Components: camel-core
>    Affects Versions: 2.0-M3
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.0.0
>
>
> The callbacks is invoked after the mock have registered and receive it. We need a pair of methods to be invoked beforehand so you can simulate errors by thrown an exception.
> This will also let the index version work with redelivery as the index will stay the same.
> And I will rename the regular methods to use *after* in the name so its easier to distinguish the before/after callbacks.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.