Re: redeliveryPolicyProfile and onException@redeliveryPolicyRef

2011-09-11 Thread Claus Ibsen
Hi I have reproduce this issue and created a ticket to track this bug https://issues.apache.org/jira/browse/CAMEL-4438 On Thu, Sep 8, 2011 at 4:12 PM, Claus Ibsen wrote: > Hi > > You may have to reorder the xml files, so the policies is read first > > eg try to swap the order here, to see if tha

Re: redeliveryPolicyProfile and onException@redeliveryPolicyRef

2011-09-08 Thread Claus Ibsen
Hi You may have to reorder the xml files, so the policies is read first eg try to swap the order here, to see if that works. return new ClassPathXmlApplicationContext("main-context.xml", "test-policies-context.xml"); On Fri, Aug 26, 2011 at 5:34 PM, RavshanKos wrote: > Hello. > > I'm trying

Re: redeliveryPolicyProfile and onException@redeliveryPolicyRef

2011-08-29 Thread RavshanKos
Mon 29-Aug-2011 12:11:40.914 [main] WARN [o.a.c.p.UnitOfWorkProcessor] Caught unhandled exception while processing ExchangeId: ID-dblonws21776-4923-1314605498726-0-1 java.lang.IllegalArgumentException: Defensive copy of Exchange is null must be specified on: DeadLetterChannel[Debug[TraceIntercepto

Re: redeliveryPolicyProfile and onException@redeliveryPolicyRef

2011-08-26 Thread Claus Ibsen
Hi Can you post the full stack trace? On Fri, Aug 26, 2011 at 5:34 PM, RavshanKos wrote: > Hello. > > I'm trying to store redelivery policies in separate spring context. > > Here context files that I'm using to test my approach: > > main-context.xml: > > http://www.springframework.org/schema/b