FYI, I commit a quick fix for it.
Now the @Consumed annotated method can add a parameter of exchange.
You can verify the patch by using latest Camel 2.15-SNAPSHOT.


--  
Willem Jiang

Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.iteye.com (Chinese)
Twitter: willemjiang  
Weibo: 姜宁willem



On September 16, 2014 at 10:24:00 PM, Willem Jiang ([email protected]) 
wrote:
> Hi,
>  
> I checked the code of JpaConsumer, it doesn’t support access the exchange 
> from @consumed  
> method. So I created JIRA[1] for it.
>  
> [1]https://issues.apache.org/jira/browse/CAMEL-7828
>  
> --
> Willem Jiang
>  
> Red Hat, Inc.
> Web: http://www.redhat.com
> Blog: http://willemjiang.blogspot.com (English)
> http://jnn.iteye.com (Chinese)
> Twitter: willemjiang
> Weibo: 姜宁willem
>  
>  
>  
> On September 16, 2014 at 9:57:21 AM, Bejjanki, Yuvanaga 
> ([email protected])  
> wrote:
> > Hi,
> >
> > How we can access a custom value(from exchange) in @consumed method of an 
> > entity
> >
> > This custom value would be determined based on some logic in a processor, 
> > so how does  
> @consumed
> > method can get this value and set to the entity property.
> >
> > Thanks,
> > Yuva
> >
> > This message and any attachments are intended only for the use of the 
> > addressee and may  
> > contain information that is privileged and confidential. If the reader of 
> > the message  
> > is not the intended recipient or an authorized representative of the 
> > intended recipient,  
> > you are hereby notified that any dissemination of this communication is 
> > strictly prohibited.  
> > If you have received this communication in error, please notify us 
> > immediately by e-mail  
> > and delete the message and any attachments from your system.
>  
>  

Reply via email to