camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: How to re-use same <redeliveryPolicy> across multiple <errorHandler>'s
Date Fri, 21 Jan 2011 15:17:06 GMT
On Fri, Jan 21, 2011 at 3:46 PM, Tarun Ramakrishna <lenkite@gmail.com> wrote:
> Hi Claus,
>
> I created: https://issues.apache.org/jira/browse/CAMEL-3574
>

Thanks

> Should I also create a patch for this? (Perhaps changing
> 'camel-spring.xsd' is all that is required, though I need to test
> this)
>

No the camel-spring.xsd is auto generated based on source code from
camel-core. eg the model package.

So its a bit more complicated as we need to allow you to define
<routePolicy> as standalone rules in the XML file.
That's not so easy to patch if you haven't done that before.


> Thanks,
> Tarun
>
> On Fri, Jan 21, 2011 at 7:24 PM, Claus Ibsen <claus.ibsen@gmail.com> wrote:
>> On Fri, Jan 21, 2011 at 2:44 PM, Tarun Ramakrishna <lenkite@gmail.com> wrote:
>>> Hi all,
>>>
>>> I have multiple error handlers defined in XML (using <errorHandler>)
>>> who wish to reuse the same <redeliveryPolicy>. It appears that
>>> <redeliveryPolicy> doesn't support the 'id' attribute so I can't 'ref'
>>> it. Is there a way to achieve this?
>>>
>>
>> Ah well spotted. Can you create a JIRA ticket in the issue tracker?
>> http://camel.apache.org/support
>>
>>> Thanks & Regards,
>>> Tarun
>>>
>>
>>
>>
>> --
>> Claus Ibsen
>> -----------------
>> FuseSource
>> Email: cibsen@fusesource.com
>> Web: http://fusesource.com
>> Twitter: davsclaus
>> Blog: http://davsclaus.blogspot.com/
>> Author of Camel in Action: http://www.manning.com/ibsen/
>>
>



-- 
Claus Ibsen
-----------------
FuseSource
Email: cibsen@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Mime
View raw message