Re: Component List (Grouped)

2013-09-28 Thread Robert Davies
This is really good! Question ? Why have a separate category for JMS instead of having JMS and Messaging together. Also its normal to have categories for mobile (apns) and SaaS (SalesForce, SAP-Netweaver etc). Breaking components will help us identify areas we are weak in - e.g. in mobile

Re: contentObjectId in XML Security (camel-xmlsecurity)

2013-09-28 Thread atiato
Dear Claus , What about this error when setting the header to change Reference URI ? #Body it raises the following exception : org.apache.camel.component.xmlsecurity.api.XmlSignatureException: javax.xml.crypto.dsig.XMLSignatureExce

Re: passing data to a polling consumer

2013-09-28 Thread lumi
Thank you for answering, I solved it with pollEnrich. -- View this message in context: http://camel.465427.n5.nabble.com/passing-data-to-a-polling-consumer-tp5740313p5740393.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: passing data to a polling consumer

2013-09-28 Thread lumi
Thank you very much, it works with pollEnrich. from("timer://myTimer?period=1000") .pollEnrich("file:target/in", new AggregationStrategy() { public Exchange aggregate(Exchange oldExchange, Exchange newExchange) { if (newExchange == null) return oldExchange; S

Re: CamelTestSupport Needs a New Method

2013-09-28 Thread James Carman
Patch submitted. https://issues.apache.org/jira/browse/CAMEL-6792 On Sat, Sep 28, 2013 at 4:40 AM, Claus Ibsen wrote: > Hi > > Yeah the getMockEndpoint with the 2nd boolean is much better > > On Fri, Sep 27, 2013 at 3:16 PM, Jan Matèrne (jhm) wrote: >> Instead of overloading the method I would

Re: Camel netty issue when receiving response

2013-09-28 Thread amine.elamraoui
When a producer send a message ( with inout exchange pattern ) ,who will take the response ? the same producer or a consumer ? -- View this message in context: http://camel.465427.n5.nabble.com/Camel-netty-issue-when-receiving-response-tp5740306p5740388.html Sent from the Camel - Users mailing

Re: MultipleConsumer on a vm: endpoint

2013-09-28 Thread Christian Posta
I've submitted a patch and tests for this. On Fri, Sep 13, 2013 at 5:55 AM, Claus Ibsen wrote: > Hi > > I logged a ticket to not forget about this > https://issues.apache.org/jira/browse/CAMEL-6746 > > On Thu, Sep 5, 2013 at 10:19 AM, Claus Ibsen > wrote: > > On Thu, Sep 5, 2013 at 10:15 AM, C

Re: CamelTestSupport Needs a New Method

2013-09-28 Thread kraythe .
As long as it throws an exception (as I see you did in the jira) it will be perfect. I just dont want to perpretually have to say: final MockEndpoint xx = getMockEndpoint("mock:direct:xx", false); assertNotNull(xx); That adds an unnecessary line to every call. If the method throws a runtime excep

Re: Component List (Grouped)

2013-09-28 Thread kraythe .
Seems good to me. Still wish there was some JSON implementation of XPath but that hasn othing to do with your page. ;) *Robert Simmons Jr. MSc. - Lead Java Architect @ EA* *Author of: Hardcore Java (2003) and Maintainable Java (2012)* *LinkedIn: **http://www.linkedin.com/pub/robert-simmons/40/85

Re: Http Component Sending Post Parameters

2013-09-28 Thread kraythe .
You need to send the parameters as the body of the http request using application/x-www-form-urlencoded encoding. *Robert Simmons Jr. MSc. - Lead Java Architect @ EA* *Author of: Hardcore Java (2003) and Maintainable Java (2012)* *Li

Re: passing data to a polling consumer

2013-09-28 Thread kraythe .
I would split on the route and stack the timer before. Any reason you need it to be 2 routes? from("timer://myTimer?period=1000") to("file:testcsv") .unmarshal().csv() .split() .to("sql:select * from test where id = ${body[id]}") .to("direct:point1"); The split will

Re: Camel netty issue when receiving response

2013-09-28 Thread Claus Ibsen
Yes lørdag den 28. september 2013 skrev amine.elamraoui : > Thanks for your reply > > The problem is not in sending but when receiving ; i suppose it uses the > same codec in both cases !!! > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-netty-issue-when-recei

Re: Camel netty issue when receiving response

2013-09-28 Thread amine.elamraoui
Thanks for your reply The problem is not in sending but when receiving ; i suppose it uses the same codec in both cases !!! -- View this message in context: http://camel.465427.n5.nabble.com/Camel-netty-issue-when-receiving-response-tp5740306p5740373.html Sent from the Camel - Users mailing

Re: Camel Certification

2013-09-28 Thread Claus Ibsen
Red Hat has a team that does training. The material is reviewed by peers within Red Hat. The engineering team is also helping with review, like we help the Doc team, and any other team related to the JBoss Fuse stack. I do not personally do trainings. On Sun, Sep 15, 2013 at 11:37 AM, Henriqu

Re: using field as key+value on the BeanIo

2013-09-28 Thread Claus Ibsen
Hi I suggest to ask on the beanio user forum On Thu, Sep 26, 2013 at 11:27 AM, skumar wrote: > Hi All, >I am using BeanIO for defining the file format while marshal/writing > my output stream.Here each field of a particular record is some sort of a > key/Value and separated by a delimite

Re: Starting method when transfer completes

2013-09-28 Thread Claus Ibsen
You could also take a look at http://camel.apache.org/oncompletion.html On Tue, Sep 24, 2013 at 6:48 PM, Bratislav Stojanovic wrote: > Hi all, > > I'm fetching some data every 30 secs from my FTP server into my local > folder using > a simple rule and that works fine. I would like now to start a

Re: Camel/ActiveMQ, JMS Rollback & redelivery not honoring the RedeliveryDelay configuration

2013-09-28 Thread Claus Ibsen
This has also been posted on ActiveMQ user forum On Thu, Sep 26, 2013 at 10:24 PM, eschor...@sendmail.com wrote: > Hello, > > We are using a Camel/ActiveMQ/Spring configuration. We have setup a > persistent queue backed by Kaha, and transactional configuration using > org.springframwork.jms.conne

Re: PollingConsumerPollStrategy for AMQPComponent endpoint

2013-09-28 Thread Claus Ibsen
That option is not supported on amqp component. On Wed, Sep 25, 2013 at 3:02 PM, magner58 wrote: > I try to use my custom PollingConsumerPollStrategy for AMQPComponent > endpoint, but my enpoint can't be created. > > Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to > resolve

Re: Consuming SOAP web service using apache camel

2013-09-28 Thread Claus Ibsen
You can see some of the CXF examples such as http://camel.apache.org/cxf-tomcat-example.html On Wed, Sep 25, 2013 at 12:38 PM, rameshbabu wrote: > > > > > > > I am trying to hit *appenedWS* using SOAP UI. It is not getting Hitted. > How to call SOAP web service using camel as

Re: File component consumer to consume files by timestamp based

2013-09-28 Thread Claus Ibsen
Hi There is a getLastModified method on the generic file instance, you can use in the filter. You can use that to check if its 1 hour old. Just google how to check file last modified in standard java to see how to implement such logic. On Sat, Sep 28, 2013 at 2:40 AM, rrajen2 wrote: > Hi > My

Re: Camel netty issue when receiving response

2013-09-28 Thread Claus Ibsen
Hi The textline codec is only one line of text, eg until the newline character. If you want to send more data, then you need to use a custom codec or some way to tell netty when the data ends. On Fri, Sep 27, 2013 at 6:42 PM, amine.elamraoui wrote: > Hi, > > I'm new in camel approach, I route a

Re: contentObjectId in XML Security (camel-xmlsecurity)

2013-09-28 Thread Claus Ibsen
Hi Yeah some setters is missing on this. I have logged a ticket https://issues.apache.org/jira/browse/CAMEL-6796 On Sat, Sep 28, 2013 at 12:20 PM, atiato wrote: > Dear Clause,, > > it raises the below error when using small letter. > > > uri="xmlsecurity:sign://enveloped?keyAccessor=#accessorRs

Re: contentObjectId in XML Security (camel-xmlsecurity)

2013-09-28 Thread atiato
Dear Clause,, it raises the below error when using small letter. pom.xml : org.apache.camel camel-xmlsecurity ${camel.version} 2.12.1 I think we have to Open JIRA for this and for the error when when setting the header CamelXmlSignatureContentRefe

Re: contentObjectId in XML Security (camel-xmlsecurity)

2013-09-28 Thread atiato
I will try again in small letter and get back to you ...I remember I did both and it didn't work . -- View this message in context: http://camel.465427.n5.nabble.com/contentObjectId-in-XML-Security-camel-xmlsecurity-tp5740265p5740346.html Sent from the Camel - Users mailing list archive at Nabb

Re: Camel quartz misfires and route not getting run / triggered after exception:ObjectAlreadyExistsException

2013-09-28 Thread Babak Vahdat
Hi Were you able to find the root cause of the problem here? If not: - Which exact Quartz 1.x version do you make use of? - Can you reproduce this with the latest Camel 2.12.1 version? - And CAMEL-5994 is already fixed so this should not cause any problem for you - Also looking at the stacktrace

Re: interceptSendToEndpoint with dynamic endpoint

2013-09-28 Thread Claus Ibsen
Then just use * in the intercept interceptSendToEndpoint("aws-sqs://myQueue*") ... On Thu, Sep 26, 2013 at 5:41 PM, Jeff Eltgroth wrote: > Hi, > > I am using camel-core 2.10.0.fuse-71-047 and I am getting similar problems > using interceptSendToEndpoint. My uri has a pound sign (#) which is get

Re: contentObjectId in XML Security (camel-xmlsecurity)- How to open JIRA?

2013-09-28 Thread Claus Ibsen
The first letter should be in lower case, eg ContentObjectId=Body should be contentObjectId=Body On Fri, Sep 27, 2013 at 1:25 PM, atiato wrote: > Dears Claus, > > the solution is as below when specifying the header > CamelXmlSignatureContentReferenceUri with #Body , it raises the above > excep

Re: Use property placeholders in CronScheduledRoutePolicy

2013-09-28 Thread Christian Müller
Use a dependency injection framework to inject the value as instance variable. Best, Christian Am 27.09.2013 08:31 schrieb "berdoni" : > Hi, > > I use CronScheduledRoutePolicy to schedule the execution on a File route. > > CronScheduledRoutePolicy routePolicy = new CronScheduledRoutePolicy(); > >

Re: Use property placeholders in CronScheduledRoutePolicy

2013-09-28 Thread Claus Ibsen
Hi You can use the resolvePropertyPlaceholders from camelContext. Or use the @PropertyInject from Camel 2.12 to inject the property to a getter/setter on the java bean (eg to do dependency injection) On Thu, Sep 26, 2013 at 5:43 PM, berdoni wrote: > Hi, > > I use CronScheduledRoutePolicy to sc

Re: Dynamic generation of URI in enricher

2013-09-28 Thread Claus Ibsen
Hi Not possible. See the red box in the documentation http://camel.apache.org/content-enricher.html On Thu, Sep 26, 2013 at 3:59 PM, Goyal, Arpit wrote: > Hi All, > > > > I would like to use enricher along with dynamic URI (See sample XML below), > where the URI is my custom endpoint. I know we

Re: How to act as TCP-client with Camel + Mina/Netty?

2013-09-28 Thread Claus Ibsen
No We love contributions so people can work on this if they want / need this functionality out of the box. http://camel.apache.org/contributing.html On Wed, Sep 25, 2013 at 8:43 PM, vjboston wrote: > Hi Claus, > Do you know when this is going to be implemented ? > > > > -- > View this message in

Re: CamelTestSupport Needs a New Method

2013-09-28 Thread Claus Ibsen
Hi Yeah the getMockEndpoint with the 2nd boolean is much better On Fri, Sep 27, 2013 at 3:16 PM, Jan Matèrne (jhm) wrote: > Instead of overloading the method I would prefer another one: > - getMockEndpoint will return the endpoint or null > - createMockEndpoint will return the endpoint and creat

Re: Camel-JmsComponent ThreadContext issues

2013-09-28 Thread Claus Ibsen
Hi Sounds like you are using http://docs.oracle.com/javase/6/docs/api/java/lang/InheritableThreadLocal.html Use the regular instead. On Fri, Sep 27, 2013 at 1:53 AM, ravi.4indra wrote: > Hi, > > we set the ThreadContext value for every request coming in and we use that > value in logging. > whe

Re: Multicast and aggregate question

2013-09-28 Thread Claus Ibsen
You use the multicast which copies the messages to all the 3. Read the Camel documentation about the eip to understand more. On Tue, Sep 24, 2013 at 7:33 PM, Erwin Etchart wrote: > Hi everybody. > > I have a question about this example. > > http://camel.apache.org/schema/spring"; autoStartup=

Re: Will Camel throttling work in ActiveMQ HA configuration

2013-09-28 Thread Claus Ibsen
The Camel throttler is in-memory only. On Sat, Sep 21, 2013 at 5:30 PM, apara wrote: > We have ActiveMQ setup in an HA configuration using a network of brokers. We > need to throttle messages to an external consumer. I know Camel has > throttling included, but will it work accurately inside o

Re: CAMEL + CXF+ ACTIVE MQ

2013-09-28 Thread Willem Jiang
Camel jms endpoint supports request/response model. You don't need to another endpoint for sending response. 发自我的 iPhone > 在 2013年9月27日,上午5:20,pannereselvam 写道: > > Hi, > I have to perform all these (camel, cxf and active mq) in Fuse 7.1.0 > Requirement: > Retrive Customer details based on giv

Apache Camel Components Poster

2013-09-28 Thread Robert James Liguori
I am having an Apache Camel Components Poster created through 99designs.com.  This project/contest is currently active as of last night. Here is the contest: http://99designs.com/illustrations/contests/create-next-illustration-graphics-gliesian-llc-251085/brief The poster/contest is being based

Consuming SOAP web service using apache camel

2013-09-28 Thread rameshbabu
I am trying to hit *appenedWS* using SOAP UI. It is not getting Hitted. How to call SOAP web service using camel as consumer..? -- View this message in context: http://camel.465427.n5.nabble.com/Consuming-SOAP-web-service-using-apache-camel-tp57401

PollingConsumerPollStrategy for AMQPComponent endpoint

2013-09-28 Thread magner58
I try to use my custom PollingConsumerPollStrategy for AMQPComponent endpoint, but my enpoint can't be created. Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint: amqp:queue:broadcast.MY_QUEUE?pollStrategy=%23MyPollingConsumerPollStrategy due to: There are 1 pa

Re: How to act as TCP-client with Camel + Mina/Netty?

2013-09-28 Thread vjboston
Hi Claus, Do you know when this is going to be implemented ? -- View this message in context: http://camel.465427.n5.nabble.com/How-to-act-as-TCP-client-with-Camel-Mina-Netty-tp5718671p5740215.html Sent from the Camel - Users mailing list archive at Nabble.com.

AW: Camel Routing using map message help required

2013-09-28 Thread jhm
I would try to split that into two parts: - content based router: route to another route according to the OPTION value - transformer: as 1st step of that route create your new map Jan > -Ursprüngliche Nachricht- > Von: prabumc...@gmail.com [mailto:prabumc...@gmail.com] > Gesendet: Freitag

Re: Problem with default spool directory in DefaultStreamCachingStrategy

2013-09-28 Thread Claus Ibsen
Hi Good idea. I logged a ticket https://issues.apache.org/jira/browse/CAMEL-6795 On Wed, Sep 25, 2013 at 9:48 AM, wrote: > Hi, > > In the current implementation of DefaultStreamCachingStrategy (Camel 2.12) > the default spooldir is set to '"${java.io.tmpdir}camel-tmp-#uuid#"' > Which results i

Re: contentObjectId in XML Security (camel-xmlsecurity)

2013-09-28 Thread atiato
I added the following : #Body it raises the following exception : org.apache.camel.component.xmlsecurity.api.XmlSignatureException: javax.xml.crypto.dsig.XMLSignatureException: javax.xml.crypto.URIReferenceException: org.apache.xml

Re: Component List (Grouped)

2013-09-28 Thread gliesian
Okay, I have refined the grouping further... If anyone has time to look at this page and refine further or offer suggestions on better conceptual groupings, please advice. Here it is: https://cwiki.apache.org/confluence/display/CAMEL/Component+List+Grouped. Thanks, Robert -- View this messag

Re: interceptSendToEndpoint with dynamic endpoint

2013-09-28 Thread Jeff Eltgroth
Hi, I am using camel-core 2.10.0.fuse-71-047 and I am getting similar problems using interceptSendToEndpoint. My uri has a pound sign (#) which is getting encoded to %23. This is the kind of uri I am using: "aws-sqs://myQueue?amazonSQSClient=#myClient" where myClient is in the registry. Jeff

Camel/ActiveMQ, JMS Rollback & redelivery not honoring the RedeliveryDelay configuration

2013-09-28 Thread eschor...@sendmail.com
Hello, We are using a Camel/ActiveMQ/Spring configuration. We have setup a persistent queue backed by Kaha, and transactional configuration using org.springframwork.jms.connection.JmsTransactionManager. We are trying to get the exception/re-delivery working correctly, and find that while the max

Re: Camel 2.12.1 and ActiveMQ 5.8.0?

2013-09-28 Thread Christoph Emmersberger
Hi Paul, I just checked the camel-parent of 2.12.1 and found the following version entry: 5.8.0 So it seems that camel 2.12.1 supports activemq 5.8.0. Hope this helps. - Christoph On Sep 23, 2013, at 6:38 PM, Paul Gale wrote: > Hi, > > (Apologies if this has been covered already...I did

Getting Below Error while Fetching Atom FEeds

2013-09-28 Thread Ankur
I'm Using 2.12.1 (camel) and 3.2.4 (spring) version. org.apache.abdera.parser.ParseException: java.lang.ArrayIndexOutOfBoundsException [9/26/13 20:22:44:902 IST] 01bc SystemErr R at org.apache.abdera.parser.stax.FOMParser.parse(FOMParser.java:128) [9/26/13 20:22:44:902 IST] 01

Re: contentObjectId in XML Security (camel-xmlsecurity)- How to open JIRA?

2013-09-28 Thread atiato
Dears Claus, the solution is as below when specifying the header CamelXmlSignatureContentReferenceUri with #Body , it raises the above exception , so as a work around we were unable to add the ContentObjectId to uri when signing because it has no setter method inside the camel-xmlsecurity jar file

Re: CAmel : Using Springg DSL to fetch atom feeds. But not working

2013-09-28 Thread Ankur
Getting new error now Kindly help me to resolve this org.apache.abdera.parser.ParseException: java.lang.ArrayIndexOutOfBoundsException [9/26/13 20:22:44:902 IST] 01bc SystemErr R at org.apache.abdera.parser.stax.FOMParser.parse(FOMParser.java:128) [9/26/13 20:22:44:902 IST]

Camel netty issue when receiving response

2013-09-28 Thread amine.elamraoui
Hi, I'm new in camel approach, I route a message from a file to a netty producer, then the response from the server is routed to another file ( the response message is composed of lines ) from("file:C:\\request?noop=true") .convertBodyTo(String.class) .setExchangeP

Http Component Sending Post Parameters

2013-09-28 Thread kishor
Hi, I am using Http component for calling a servlet, with POST method. Servlet is reading the request parameter using request.getParamByName("paramname") method. For that sake, i am appending my request data in encoded format to query param with above paramname. But, when request data size/length e

Re: Component List (Grouped)

2013-09-28 Thread gliesian
Dear Camel Riders... Please let me know if any components are *missing* from the grouped list I have put together. Thanks, Robert -- View this message in context: http://camel.465427.n5.nabble.com/Component-List-Grouped-tp5739388p5740317.html Sent from the Camel - Users mailing list archive a

File component consumer to consume files by timestamp based

2013-09-28 Thread rrajen2
Hi My requirements for the file component consumer is to just get list of filenames from a directory that have last modified timestamp which is 1 hr and greater and append the list of files to a file say data/outputlist.txt. How would I do that? Could you plz advice? The pseudo code that I have

Re: contentObjectId in XML Security (camel-xmlsecurity)

2013-09-28 Thread atiato
contentObjectId is used to change the reference URI and apply it during signing of the message . Well I want to sign XML message using camel-xmlsecurity and I have change the code for this component to Sign the message . the Question should I open JIRA for the exception when using the Header of C