RE: Issue with high volume load in camel

2015-04-07 Thread yogu13
"Started 2 contexts together and it worked. " Does this mean your issue is resolved? -- View this message in context: http://camel.465427.n5.nabble.com/Issue-with-high-volume-load-in-camel-tp5765430p5765465.html Sent from the Camel - Users mailing list archive at Nabble.com.

RE: Issue with high volume load in camel

2015-04-07 Thread Vanshul . Chawla
Thanks. We tested with queue to file and queue to seda and then file for 150K message per hour. It works fine. Beyond that, it starts slowing in 5 10 min in both cases. Started 2 contexts together and it worked. Thanks and Regards, Vanshul Chawla -Original Message- From: yogu13 [mailto

Re: BeanIODataFormat giving exception in OSGI compliant Karaf Server Camel

2015-04-07 Thread Claus Ibsen
Use the data format outside the processor, so it properly gets initialized. It would need this to work in osgi with classloading http://camel.apache.org/data-format.html On Tue, Apr 7, 2015 at 6:41 PM, gargankur007 wrote: > Hi Claus > > Thanks for your interest. > Use case is "Can we use a bean

Re: how to get the value from cxf request payload

2015-04-07 Thread yogu13
Try exploring CXF InInterceptors for this. Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/how-to-get-the-value-from-cxf-request-payload-tp5765452p5765459.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Issue with high volume load in camel

2015-04-07 Thread yogu13
Incase you need to seda for any reason then setting queueSize and blockWhenFull properties on Seda could also help! Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/Issue-with-high-volume-load-in-camel-tp5765430p57654

Re: Camel process evaluates XPath to a DTMNodeList object

2015-04-07 Thread yogu13
I think the default mode uses XALAN, Not that i have tried this but do check @ http://camel.apache.org/xpath.html for configuring SAXON The section "Setting a custom XPathFactory using System Property" looks to be an interesting option Regards, -Yogesh -- View this message in context: http:/

Re: Issue with high volume load in camel

2015-04-07 Thread yogu13
I wouldnt choose to pick the messages from the queue and write it to seda and instead write it to files directly after picking up from the queue. Seda seems to be an overhead in this case. Just my thought. Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com

Re: file:absolute.path is not printing value

2015-04-07 Thread Claus Ibsen
Hi You need to start from a file to have all those file mappings, eg The file producer, eg to uri="file:" set a header with the name of the file that was saved, See section - Message Headers - File producer only At http://camel.apache.org/file2 On Wed, Apr 8, 2015 at 3:01 AM, chaituu wrote: >

Re: BeanIODataFormat giving exception in OSGI compliant Karaf Server Camel

2015-04-07 Thread gargankur007
Hi Claus Thanks for your interest. Use case is "Can we use a beaniodataformat depending upon the exchange filetype or file extension?" Eg from("file://filPath") // do a little logging // aggregate bas

Re: @UriPath and @UriSyntax

2015-04-07 Thread Claus Ibsen
For any values in the path you need to set them from the component class in the createEndpoint method. The values are from the remaining parameter. Though in the future we may be able to let Camel do this mapping a bit more automatic since we now have the syntax option. But that was just recently

how to get the value from cxf request payload

2015-04-07 Thread chaituu
I am hitting below SOAP request in SOAP UI and in the enrich bean I need to get the orderId value?If I do doc.getElementsByTagName("v1:orderId") then the value will come but I cannot hardcoded the prefix before the name("v1:orderId") because namespace prefix can b

Re: dynamic file route creation in spring dsl

2015-04-07 Thread chaituu
thanks yogesh.I am also thinking in those lines. -- View this message in context: http://camel.465427.n5.nabble.com/dynamic-file-route-creation-in-spring-dsl-tp5765331p5765451.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Marshal with quote in CSV

2015-04-07 Thread chaituu
thanks.its working now. -- View this message in context: http://camel.465427.n5.nabble.com/Marshal-with-quote-in-CSV-tp5765160p5765450.html Sent from the Camel - Users mailing list archive at Nabble.com.

file:absolute.path is not printing value

2015-04-07 Thread chaituu
why logger is not printing file:absolute.path?I want to print file:absolute.path in the velocity template. -- View this message in context: http://camel.465427.n5.nabble.com/file-absolute-path-is-not-printing-value-tp5765449.html Sent from the Camel - Users mailing list archive a

Re: @UriPath and @UriSyntax

2015-04-07 Thread Christopher Piggott
OK that hellped. What I ended up doing was: * Component extends UriEndpointComponent * Endpoint extends DefaultEndpoint and is marked @ManagedResource and @UriEndpoint. It also has a @UriParam for 'baud' and another one for 'path' -- that last one is a problem (will explain in a second) * Consum

RE: upgrading to Scala 2.11

2015-04-07 Thread shreyas
As far as I see, it is a warn catch (NoClassDefFoundError e) { LOG.warn("Ignoring converter type: " + type.getCanonicalName() + " as a dependent class could not be found: " + e, e); } You should be able to suppress it in your log4j config for this particular class. Also, may be you can try to

Multimedia files aggregation and split

2015-04-07 Thread yonas demeke
Hi,I wanted to use camel aggregator EIP to combine text and image files, and splitter EIP to split web page into text and images. I googled, but n't succeeded. Please do have any idea or examples that show some tips?

Camel process evaluates XPath to a DTMNodeList object

2015-04-07 Thread vdhawan
Hello, i have a process with a method signature public void process(Exchange exchange,@XPath(value=//MyXpath) Object value, @XPath(value=//MyXpath1)Object value1) Both the xpath return 1 match when a xml is fed to this processor. I am expecting the processor to evaluate the xpath and convert to

Re: @UriPath and @UriSyntax

2015-04-07 Thread Claus Ibsen
A component must have a default no-arg constructor. So add that, and call super(JsscEndpoint.class) and remove the other constructors as they are not really needed. On Tue, Apr 7, 2015 at 4:55 PM, Christopher Piggott wrote: > I will try that, thanks. > > For a test, I just tried getting back to

Re: @UriPath and @UriSyntax

2015-04-07 Thread Christopher Piggott
I will try that, thanks. For a test, I just tried getting back to basics, and getting rid of all the Uri configuration entirely - just to see what happens. I still have META-INF/services/org/apache/camel/component/jssc (a text file) which allows me to do: from("jssc:com10?baud=19200") ... a

Re: Stop split after reading first line

2015-04-07 Thread manojdevendran
Thank you Claus!! -- View this message in context: http://camel.465427.n5.nabble.com/Stop-split-after-reading-first-line-tp5765370p5765438.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: @UriPath and @UriSyntax

2015-04-07 Thread Claus Ibsen
Hi Oh if you have this as a component outside Camel, then you need to add the apt plugin https://github.com/apache/activemq/blob/master/activemq-camel/pom.xml#L63 And this plugin if you want to include a .properties file in the JAR with a list of components it contains https://github.com/apache/a

Re: @UriPath and @UriSyntax

2015-04-07 Thread Claus Ibsen
Hi All the 150+ components is an example of this. Just pick a similar / simple component and see its source code. On Tue, Apr 7, 2015 at 3:12 PM, Christopher Piggott wrote: > Hi, > > According to > https://cwiki.apache.org/confluence/display/CAMEL/Camel+2.15.0+Release > > >- Custom component

@UriPath and @UriSyntax

2015-04-07 Thread Christopher Piggott
Hi, According to https://cwiki.apache.org/confluence/display/CAMEL/Camel+2.15.0+Release - Custom components using @UriEndpoint must now include a syntax attribute to document the uri syntax of the endpoint, when using the apt compiler plugin to generate documentation. I'm looking for

How to send FLASH through Camel-SMPP component

2015-04-07 Thread bharaniravikanth
Hi, My application uses Camel-smpp component for sending SMS and Flash SMS, I could able to send SMS through my application successfully, But may I know what are the additional parameters to be set in the headers for sending FLASH SMS. Regards, BRK -- View this message in context: http://ca

Why so many port used when I use camel-netty4-http

2015-04-07 Thread Yuffie
Hi, when I use netty4-http compoment, I found it use a lot ports which I have not defined in my program: 协议 本地地址 外部地址状态 PID TCP0.0.0.0:80 0.0.0.0:0 LISTENING 1080 TCP0.0.0.0:1350.0.0.0:0 LISTENING

Re: Jetty HTTPS 2way

2015-04-07 Thread garethahealy
Hi Willem, Switched to camel-http4 and works. Cheers. -- View this message in context: http://camel.465427.n5.nabble.com/Jetty-HTTPS-2way-tp5765296p5765431.html Sent from the Camel - Users mailing list archive at Nabble.com.

Issue with high volume load in camel

2015-04-07 Thread Vanshul . Chawla
Hello, I have a camel context where the messages are picked from a IBM MQ queue and on basis of XPATH, we place it onto separate seda queues. >From seda queues, the messages are picked and files are written in per minute >duration ie append mode for 1 minute. This camel context has peak volumes

Re: Camel LOOP

2015-04-07 Thread contactreji
And I tried using Xquery this way * ${in.header.operationName} == 'CreateOperation' count(//CustomerRecords/Record)

Re: Issue with 'javax.annotation' when installing 'camel' followed by 'cxf' feature

2015-04-07 Thread Martin Lichtin
JDK 1.8. Karaf's jre.properties has jre-1.8 property with javax.annotation;version="1.0", \ javax.annotation.processing;version="1.6", \ It seems to be an unresolved issue, see https://issues.apache.org/jira/browse/KARAF-2660 I noticed that if I install "mvn:javax.annotation/javax.annotation-a

Re: BeanIODataFormat giving exception in OSGI compliant Karaf Server Camel

2015-04-07 Thread gargankur007
We are using Spring to wire beans -- View this message in context: http://camel.465427.n5.nabble.com/BeanIODataFormat-giving-exception-in-OSGI-compliant-Karaf-Server-Camel-tp5765404p5765425.html Sent from the Camel - Users mailing list archive at Nabble.com.

Camel LOOP

2015-04-07 Thread contactreji
Hi Basically, I am trying to develop a module which pushes the customer records into database. Incoming XML contains multiple customer records. I am wondering how I can use the CamelLoopIndex property while looping through xml records. I have some code like follows. I want to loop through recor

Re: upgrading to Scala 2.11

2015-04-07 Thread Behrad
Thank you Shreyas, I don't need xml support, so I can ignore this, however It would be nicer if I could turn related type converter off, or tell Camel to just warn me about them... the exception trace turns my logs ugly :( 2015-04-07 11:24 GMT+04:30 shreyas : > Scala 2.11 does not have native XML