RE: logging/incrementing simple counter

2017-01-04 Thread Baltej Singh
nboundCounter.getAndIncrement-errorRoute3-testNaming.xml -Original Message- From: Quinn Stevenson [mailto:qu...@pronoia-solutions.com] Sent: Wednesday, January 04, 2017 9:12 AM To: users@camel.apache.org Subject: Re: logging/increme

Re: logging/incrementing simple counter

2017-01-04 Thread Quinn Stevenson
; From: Quinn Stevenson [mailto:qu...@pronoia-solutions.com] > Sent: Friday, December 30, 2016 9:05 AM > To: users@camel.apache.org > Subject: Re: logging/incrementing simple counter > > Can you be a little more specific on how it isn’t working? I tried a > simplified form of your

RE: logging/incrementing simple counter

2017-01-03 Thread Baltej Singh
] Sent: Friday, December 30, 2016 9:05 AM To: users@camel.apache.org Subject: Re: logging/incrementing simple counter Can you be a little more specific on how it isn’t working? I tried a simplified form of your file uri, and it seemed to work fine. > On Dec 29, 2016, at 5:42 PM, Bal

Re: logging/incrementing simple counter

2016-12-30 Thread Quinn Stevenson
ons.com] > Sent: Thursday, December 29, 2016 2:36 PM > To: users@camel.apache.org > Subject: Re: logging/incrementing simple counter > > I’d probably use and AtomicLong for this specific use case > > > > http://camel.apache.org/schema/spring";> >

RE: logging/incrementing simple counter

2016-12-29 Thread Baltej Singh
Quinn, Works great on its own, but not in the file components move attribute! -Original Message- From: Quinn Stevenson [mailto:qu...@pronoia-solutions.com] Sent: Thursday, December 29, 2016 2:36 PM To: users@camel.apache.org Subject: Re: logging/incrementing simple counter

Re: logging/incrementing simple counter

2016-12-29 Thread Quinn Stevenson
e- > From: Baltej Singh > Sent: Thursday, December 29, 2016 12:08 PM > To: users@camel.apache.org > Subject: RE: logging/incrementing simple counter > > Thanks Quin - worked like a charm! > > What the recommended way to set the value on this bean? > What are the advantages/disadvantages of using groovy VS ${bean:..} syntax?

RE: logging/incrementing simple counter

2016-12-29 Thread Baltej Singh
@camel.apache.org Subject: RE: logging/incrementing simple counter Thanks Quin - worked like a charm! What the recommended way to set the value on this bean? What are the advantages/disadvantages of using groovy VS ${bean:..} syntax?

RE: logging/incrementing simple counter

2016-12-29 Thread Baltej Singh
[mailto:qu...@pronoia-solutions.com] Sent: Wednesday, December 28, 2016 11:10 AM To: users@camel.apache.org Subject: Re: logging/incrementing simple counter Try this > On Dec 22, 2016, at 12:45 PM, Baltej Singh wrote: > > Tring to create a simple counter to track some stats, not using th

Re: logging/incrementing simple counter

2016-12-28 Thread Quinn Stevenson
Try this > On Dec 22, 2016, at 12:45 PM, Baltej Singh wrote: > > Tring to create a simple counter to track some stats, not using the metrics > related components. > Just need to log execCount and do execCount++ everytime route is entered. > What is the syntax for logging results of bean metho

logging/incrementing simple counter

2016-12-22 Thread Baltej Singh
Tring to create a simple counter to track some stats, not using the metrics related components. Just need to log execCount and do execCount++ everytime route is entered. What is the syntax for logging results of bean method? i.e. logging result of: Thanks, Baltej ---snippet