http4 component

2013-06-19 Thread Jason Chaffee
I would like to access both the statusText and uri that is added to the exception during populateHttpOperationFailedException, but I want to access it when I have throwExceptionOnFailure=false. I have been looking through the code and don't see an easy way to get that information, but I thought I

http4

2013-06-19 Thread Jason Chaffee
I would like to access both the statusText and uri that is added to the exception during populateHttpOperationFailedException, but I want to access it when I have throwExceptionOnFailure=false. I have been looking through the code and don't see an easy way to get that information, but I thought

Re: CamelOne

2013-05-27 Thread Jason Chaffee
Just wanted to chime in for the powers that be. It is a great conference, but it would be nice if it could be on the West Coast every other year or at least on occasion. There is good community of Camel users out here that are not part of the actual Camel community and having it out West migh

Re: Facebook Component

2013-04-10 Thread Jason Chaffee
pot.com (http://willemjiang.blogspot.com/) >> (English) >>> http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese) >>> Twitter: willemjiang >>> Weibo: 姜宁willem >>> >>> >>> >>> >>> >>> On Wednesday, Apri

Facebook Component

2013-04-09 Thread Jason Chaffee
Does anyone know if there is a Facebook component that is similar to the camel-twitter component, but for Facebook? I am thinking of working on one for my needs, but I wanted to make sure that someone hasn't already gone down that path. Thanks, Jason

Facebook component

2013-04-09 Thread Jason Chaffee
Does anyone know if there is a Facebook component that is similar to the camel-twitter component, but for Facebook? I am thinking of working on one for my needs, but I wanted to make sure that someone hasn't already gone down that path. Thanks, Jason

CamelOne

2013-01-08 Thread Jason Chaffee
Does anyone know if there is going to be a CamelOne Conference this year? Jason

Re: cxfrs(authentication and authorization)

2013-01-01 Thread Jason Chaffee
Fixing the link. :) http://sberyozkin.blogspot.com/2010/12/authentication-and-authorization-cxf .html On 1/1/13 5:58 PM, "Jason Chaffee" wrote: >http://sberyozkin.blogspot.com/2010/12/authentication-and-authorization-cx >f >.html

Re: cxfrs(authentication and authorization)

2013-01-01 Thread Jason Chaffee
can work quite well too > >thanks, Sergey > > >On 31/12/12 03:47, Jason Chaffee wrote: >> >> I think there are a number ways you could to it. >> >> 1) If you wanted to secure your routing and/or do it at the camel route >>level then you could use camel-sh

Re: cxfrs(authentication and authorization)

2012-12-30 Thread Jason Chaffee
I think there are a number ways you could to it. 1) If you wanted to secure your routing and/or do it at the camel route level then you could use camel-shiro. See http://camel.apache.org/shiro-security.html Or camel-spring-security. See http://camel.apache.org/spring-security.html 2) You

Re: camel-cxfrs: Handling of Subresources

2012-12-27 Thread Jason Chaffee
inding soon for others to use. > >Regards, >Raúl. > >On 27/12/2012, at 22:34, Jason Chaffee wrote: > >> I am using camel-cxfrs quite successfully and I am seeing my path and >> query params in the body, which a MessageContentList. The method >> parameters are in

Re: camel-cxfrs: Handling of Subresources

2012-12-27 Thread Jason Chaffee
I am using camel-cxfrs quite successfully and I am seeing my path and query params in the body, which a MessageContentList. The method parameters are inserted in the order they defined in the method. I am using 2.10.3. Jason On 12/27/12 4:07 AM, "Raul Kripalani" wrote: >After a detail look

Re: onException

2012-12-17 Thread Jason Chaffee
can then >grab the caused exception that was handled and show it in the log. > > >On Mon, Dec 17, 2012 at 10:02 AM, Jason Chaffee >wrote: >> I am trying to log the exception with an onException. The problem is >>that I am not seeing the stacktrace, or the body even though I

Re: onException

2012-12-17 Thread Jason Chaffee
ssOf[Exception])) and not >onException(Exception.class) ? Your problem could be related to the fact >that camel is not able to match the real exception with >classOf[Exception]. > >Regards, > > > >On Mon, Dec 17, 2012 at 10:02 AM, Jason Chaffee >wrote: > >> I am

onException

2012-12-17 Thread Jason Chaffee
I am trying to log the exception with an onException. The problem is that I am not seeing the stacktrace, or the body even though I have the parameters set to true. Does anyone see anything in particular that is wrong with what I am doing? onException(classOf[Exception]) .routeId("Excep

Re: losing headers after mondodb endpoint

2012-12-13 Thread Jason Chaffee
Yep, it is fixed now. On 12/13/12 1:06 AM, "Raul Kripalani" wrote: >Hi Jason, > >This was fixed in Camel 2.10.3: >https://issues.apache.org/jira/browse/CAMEL-5697. > >Could you try with that version and let us know? > >Regards, >Raúl. >On 13 Dec 2012

Re: losing headers after mondodb endpoint

2012-12-12 Thread Jason Chaffee
> Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) > (English) > http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese) > Twitter: willemjiang > Weibo: 姜宁willem > > > > > On Thursday, December 13, 2012 at 10:39 AM, Jason Chaffee wro

losing headers after mondodb endpoint

2012-12-12 Thread Jason Chaffee
I am processing a REST call using CXFRS and then sending that to a mongodb endpoint, and finally building up the Response for the CXFRS endpoint. I would like to access the headers that CXFRS puts in the Exchange when I build up the Response (I probably need to get some Context objects out of t

Re: Setting Header as Xpath expression

2012-12-04 Thread Jason Chaffee
obile device >Am 04.12.2012 11:40 schrieb "Jason Chaffee" : > >> I take that back. It worked one time, but not the next time. However, >>my >> hack works with every run. >> >> >> >> On 12/4/12 1:50 AM, "Jason Chaffee" wrote: >&

Re: Setting Header as Xpath expression

2012-12-04 Thread Jason Chaffee
I take that back. It worked one time, but not the next time. However, my hack works with every run. On 12/4/12 1:50 AM, "Jason Chaffee" wrote: >If I use String.class instead of Integer.class it works. It could be an >issue with my javascript why the Integer.class didn¹t wo

Re: Setting Header as Xpath expression

2012-12-04 Thread Jason Chaffee
If I use String.class instead of Integer.class it works. It could be an issue with my javascript why the Integer.class didn¹t work. On 12/4/12 1:20 AM, "Jason Chaffee" wrote: >Tried that, but for some reason it fails to give me the expected results >as it stops process

Re: Setting Header as Xpath expression

2012-12-04 Thread Jason Chaffee
s) > >Doesn't it work for you? > >Best, >Christian > >On Tue, Dec 4, 2012 at 4:00 AM, Jason Chaffee >wrote: > >> Currently, I am using Xpath to read some elements from the body that are >> integers. Later in the process, I need to use those integers in a &g

Re: Setting Header as Xpath expression

2012-12-04 Thread Jason Chaffee
Hat, Inc. >FuseSource is now part of Red Hat >Web: http://www.fusesource.com | http://www.redhat.com >Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) >(English) > http://jnn.javaeye.com (http://jnn.javaeye.com/) (Chinese) >Twitter: willemjiang >Weibo: w

Setting Header as Xpath expression

2012-12-03 Thread Jason Chaffee
Currently, I am using Xpath to read some elements from the body that are integers. Later in the process, I need to use those integers in a scripting language to do some comparisons and arithmetic. The problem I am seeing is that when I set the header it is a NodeList object instead of the inte

Re: Splitter and combining messages / exchanges

2012-11-30 Thread Jason Chaffee
will also loose the header. > >Do you have another idea? > >Greetings >Oliver > > > >2012/11/30 Jason Chaffee > >> I believe could write a custom aggregator. On the first call, you put >>the >> "Hello" into a header on the Exchange and return that

Re: Splitter and combining messages / exchanges

2012-11-30 Thread Jason Chaffee
I believe could write a custom aggregator. On the first call, you put the "Hello" into a header on the Exchange and return that Exchange. On the rest of the calls, you can read the header and aggregate it with the current body. On 11/30/12 2:33 PM, "Oliver Geisser" wrote: >Hi Claus, > >thanks

Re: aggregator issue

2012-11-29 Thread Jason Chaffee
I really don't want grouped exchanges, that is if I understand them correctly. I want to merge the message bodies into a container object. In a nutshell, I am loading a third-party XML file, splitting it into individual items, normalizing those items into my objects, and then I want to aggregate

Re: aggregator issue

2012-11-29 Thread Jason Chaffee
constant(true) .completionFromBatchConsumer() .completionPredicate(header("CamelBatchComplete").isEqualTo(true)) .to("file://./target/?fileName=transformed.xml") On 11/29/12 12:50 PM, "Charles Moulliard" wrote: >Do you observe the same behavior if you st

Re: aggregator issue

2012-11-29 Thread Jason Chaffee
there is only 1 exchange in the >batch. > > >On Thu, Nov 29, 2012 at 12:09 PM, Jason Chaffee >wrote: >> I have a custom aggregator strategy but for some reason the oldExchange >>is always null. Any ideas? >> >> >> Here is my route. >> &

aggregator issue

2012-11-29 Thread Jason Chaffee
I have a custom aggregator strategy but for some reason the oldExchange is always null. Any ideas? Here is my route. from("seda:Split") .routeId("Split") .aggregate(new MyAggregationStrategy()) .constant(true) .completionFromBatchConsumer() .completionP

How to do splitter EIP in Scala DSL

2012-11-16 Thread Jason Chaffee
I can't get the splitter to work in the Scala DSL. This is what I want to do, but in the Java DSL: from("direct:a").split(body().tokenizeXML("offer")).parallelProcessing().streaming().to("direct:test") This will not compile in Scala due to the body(). If I try partial functions and do body(_)

Re: unmarshaling and tokenizing in Scala DSL

2012-11-15 Thread Jason Chaffee
http://www.redhat.com > Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) > (English) > http://jnn.javaeye.com (http://jnn.javaeye.com/) (Chinese) > Twitter: willemjiang > Weibo: willemjiang > > > > > > On Friday, November 16, 2012 at 11:28 AM

unmarshaling and tokenizing in Scala DSL

2012-11-15 Thread Jason Chaffee
I am having issues getting the following Java examples to work using the Scala DSL. Any insight is greatly appreciated as I am still trying to make my way with Scala. from("direct:test").unmarshal().gzip().split(body().tokenizeXML("offer")).parallelProcessing().streaming().to("mock:test")

Re: JSON - Jackson return list rather than POJO

2012-08-20 Thread Jason Chaffee
I asked this same question before and this the example and answer I got about using a Map with Jackson. I did not test it to confirm that it works correctly though. On Aug 20, 2012, at 1:08 AM, Claus Ibsen mailto:claus.ib...@gmail.com>> wrote: Hi Maybe we could improve the cam

Re: Camel Monitoring Tool

2012-04-04 Thread Jason Chaffee
They have FuseHQ which I believe is based off Hyperic, but I am not sure if it truly has any extra benefits over Hyperic and Apache Camel. Jason On Apr 4, 2012, at 2:24 PM, "Christian Müller" wrote: > Fuse Mediation Router is a distribution of Apache Camel from FuseSource. It > doesn't have a

Re: Need help to load csv into database

2012-03-08 Thread Jason Chaffee
You might want to look at Smooks camel component for this. It supports streaming too. Snooks and Camel are a powerful combination. http://www.smooks.org/mediawiki/index.php?title=Main_Page http://blog.smooks.org/2010/09/23/smooks-camel-integration-revisited/ Jason On Mar 7, 2012, at 11:23 PM

RE: 2.7.0 changes have a bug

2011-03-30 Thread Jason Chaffee
this kind of issue. As Camel 2.7.0 moved to Spring 3.x, can you check if your ActiveMQ run time is still using Spring 2.x ? [1]https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311211&styleName=Html&version=12316021 On 3/30/11 3:14 AM, Jason Chaffee wrote: > Confirm

2.7.0 changes

2011-03-25 Thread Jason Chaffee
I have an application that works fine in 2.6.0 and shutdowns in 2.7.0. The apps starts up and the routes start and then I see in the logs, ShutdownHook invoked. Does anyone have any ideas about this? I can send the logs if needed. Didn't want to flood the first email with them though. Jas

Re: How widely used in Camel?

2011-02-09 Thread Jason Chaffee
I know of quite a few stealth companies using it as well. Also, keep in mind that many servicemix users are using camel for EIP in servicemix and they may consider it a part of servicemix instead of thinking they are using another product all together. Jason On Feb 9, 2011, at 9:47 PM, "C

RE: messages stuck in queues

2010-11-15 Thread Jason Chaffee
local-54403-1246038742624-0-1 >>> mock:a --> mock:b , Pattern:InOnly, Headers:{from=Claus}, BodyType:String, Body:This is Copenhagen calling Taariq -Original Message- From: Jason Chaffee [mailto:jchaf...@ebates.com] Sent: 15 November 2010 23:16 To: users@ca

messages stuck in queues

2010-11-15 Thread Jason Chaffee
I am seeing issues where my messages are getting stuck in queues. I check the MBeans and it says they are inflight, so the consumer hasn't picked them. In my case, the consumer is a POJO method in the same JVM. Also, it appears retries are not happening. It just gets stuck. Before I attach m

RE: Solution?? JAXB Unmarshalling - DataFormat error ... suggestions?

2010-09-08 Thread Jason Chaffee
Well, you have an example of the contextPath being "com.mycompany.connector.jms" yet your bean example that worked had the package of "com.mycompany.connector.bean" for the TestBean. Those don't look the same to me. From this, it would guess that your contextPath in the example below is not correc

RE: Solution?? JAXB Unmarshalling - DataFormat error ... suggestions?

2010-09-08 Thread Jason Chaffee
Well based on this example and the jaxb contextPath you gave earlier, it appears they aren't the same package. If jaxb can't find annotated classes or an ObjectFactory in the contetPath then you will get the error you were seeing. -Original Message- From: dresden [mailto:isaacv...@gmail.c

RE: Solution?? JAXB Unmarshalling - DataFormat error ... suggestions?

2010-09-08 Thread Jason Chaffee
And all of your jaxb classes are in this package "com.mycompany.connector.jms"? -Original Message- From: dresden [mailto:isaacv...@gmail.com] Sent: Wednesday, September 08, 2010 2:10 PM To: users@camel.apache.org Subject: Re: Solution?? JAXB Unmarshalling - DataFormat error ... suggestion

RE: example using produce annoation with ref

2010-08-18 Thread Jason Chaffee
then ref that endpoint in the annotation. Let me know if this doesn't work. On Wed, Aug 18, 2010 at 8:23 PM, Jason Chaffee wrote: > I am currently using the produce annotation with the uri attribute. I > would like to change that to use the ref and configure the uri > differently for di

example using produce annoation with ref

2010-08-18 Thread Jason Chaffee
I am currently using the produce annotation with the uri attribute. I would like to change that to use the ref and configure the uri differently for different apps, so that I can reuse the same producer code. However, I haven't been able to find an example of doing this way. Can anyone point me