Camel Security Framework - ActiveMQ Store error

2014-01-07 Thread contactreji
Hi I was trying to do some encryption exercises. Once the message is decrypted, I am unable to store the result into a ActiveMQ Queue. Would be really helpful if someone can suggest a fix. The encryption and decryption are successfully working. My Camel Routes are as follows: * http://www.sp

Re: Add date to logs

2014-01-07 Thread Satyam Maloo
Hi, Found out the solution In org.ops4j.pax.logging.cfg (located at \jboss-fuse-6.0.0.redhat-024\etc\) wherever you find *.ConversionPattern = %d{ABSOLUTE} use *.ConversionPattern = %d{DATE} You can also define your own custom pattern for date as %d{HH:mm:ss,SSS} or %d{dd MMM HH:mm:ss,SSS

AW: What organizations are using Camel?

2014-01-07 Thread jhm
In my project we are using Camel to integrate several systems. Here we have round about 10k users acting synchronously during work time with 150k requests per day. Also we have asynchronously work with round about 2.5M requests per month (2M coming from batch jobs during 5 days). Jan > -Ursp

Re: Camel cxf with basic authentication

2014-01-07 Thread Willem Jiang
It could be difficult to access the wsdl if you don’t setup the http conduit for it. You can setup the by setting the CxfEndpoint property like this CxfEndpoint cxfEndpoint = camelContext.getEndpoint(“cxf:xxx”); // set the authentication information Map properties = new HashMap();    org.apache.

Re: CXF : Camel 2.12.2 : Karaf 3.0.0 : Soap-Timeout

2014-01-07 Thread Willem Jiang
Hi Thomas, If the route can work in Karaf 2.3.3 instead of Karaf 3.0.0. I think it’s bug of PaxWeb which provide the Servlet OSGi service. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com(http://willemjiang.blogspot.com/) (English) http://jnn.ite

Camel - Salesforce example

2014-01-07 Thread kcs129
I'm looking for a good example of a Salesforce query using Camel in Java. I've been through the documentation and Camel source unit tests but have not been successful pulling data from Salesforce. The same query works fine from Postman. I'm able to submit records to Salesforce without an issues

Re: Aggregation on Hazelcast SEDA component

2014-01-07 Thread btekab
have tried a couple of thing but it is still not working. Since the usage looks very basic I am sure I must be missing something obvious. Is this the right list to ask or is the hazelcast list the better option? Thanks -- View this message in context: http://camel.465427.n5.nabble.com/Aggregat

Re: Holding a value in camel blueprint

2014-01-07 Thread Claus Ibsen
Hi You can always store values as properties on the exchange which will be available there for the lifecycle of the exchange. Then you can later get access to that property and store it somewhere in the message body or as a header of the message, or what you want. On Sun, Jan 5, 2014 at 3:21 AM,

Re: hwo to embed image in email

2014-01-07 Thread Claus Ibsen
Hi I wonder if you need to use html content in your mail to attach images inside the mail. Search the web and places like SO you can find some details such as http://stackoverflow.com/questions/6706891/embedding-image-in-html-email On Tue, Jan 7, 2014 at 4:58 PM, nono wrote: > Below is example

Re: Camel Jetty Rest endpoints

2014-01-07 Thread Claus Ibsen
Hi You can use matchOnUriPrefix=true. See more details at http://camel.apache.org/jetty http://camel.apache.org/how-do-i-let-jetty-match-wildcards.html Though jetty wont auto map the context path to headers or something. But you have access to the context-path in the camel message, so you can fig

CXF : Camel 2.12.2 : Karaf 3.0.0 : Soap-Timeout

2014-01-07 Thread Freihalter Thomas
Hello guys, I am using Karaf 3.0.0 and Camel 2.12.2 If I send a Soap-Envelope to Jetty, the response contains a '8000' before the Soap-Envelope. What does this mean and how can I avoid this? SoapUi (and my jQuery-Client) is running into timeout. With Karaf 2.3.3 everything is okay (no '8000').

Camel Jetty Rest endpoints

2014-01-07 Thread cgsk
Hi There, Is it possible to expose a Jetty endpoint like a rest endpoint below with dynamic http path. http://localhost:8001/rest/oderservice/${orderId}/{en} Regards, cgsk -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Jetty-Rest-endpoints-tp5745690.html Sent from t

Re: Can I write a route that reads an arbitrary database table and stores it in a file?

2014-01-07 Thread Lothar Werzinger
Sorry for my late reply. I was quite busy. On Mon, Jan 6, 2014 at 2:06 PM, Henryk Konsek wrote: > Hi Lothar, > > > I was hoping for some kind of dynamic route building that would allow me > to > > use the jdbc or sql component. > > In general dynamic endpoint specification can be achieved via >

Re: Holding a value in camel blueprint

2014-01-07 Thread cameluser2014
Any help? -- View this message in context: http://camel.465427.n5.nabble.com/Holding-a-value-in-camel-blueprint-tp5745558p5745688.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Multicast EIP - Camel Blueprint

2014-01-07 Thread cameluser2014
Please help! -- View this message in context: http://camel.465427.n5.nabble.com/Multicast-EIP-Camel-Blueprint-tp5745559p5745687.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Appending value to XML - Camel Blueprint

2014-01-07 Thread cameluser2014
Any help? Thanks! -- View this message in context: http://camel.465427.n5.nabble.com/Appending-value-to-XML-Camel-Blueprint-tp5745560p5745686.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: ActiveMQ processing

2014-01-07 Thread kraythe .
Write two routes: one that writes to a JMS queue and one that picks up data off the queue and processes it: from("direct:input").to("activemq:queue:inbox"); from("activemq:queue:inbox"). . to("activemq:queue:results"); This manner you can shove data in as fast as you want and even have concurren

Re: Stream consuming in Camel

2014-01-07 Thread kraythe .
You could write your own consumer to do this if you wanted and nothing else fit. Camel is very extensible so it allows you to do custom things and transparently marry those things with EIP and camel routes. *Robert Simmons Jr. MSc. - Lead Java Architect @ EA* *Author of: Hardcore Java (2003) and M

Re: What organizations are using Camel?

2014-01-07 Thread kraythe .
EA uses Camel for a number of things I am not at liberty to discuss. Some things I can talk about in general terms though. We process several thousand customer support cases using Camel routes. Also Comcast cable uses it to process Streaming Video On Demand (SVOD) content and is working to replace

hwo to embed image in email

2014-01-07 Thread nono
Below is example of my code , i want to embed logo.gif into email body.it does not work, it only attached logo as a file in emailCould anyone give me some hints? Thanks!class EmailProcessor implements Processor {@Override public void process(Exchange exchange) throws Exception { //exc

Re: Camel Message Attachment order

2014-01-07 Thread rdehuyss
Wauw, you guys are fast with accepting patches! And thx for an awesome framework! On Mon, Jan 6, 2014 at 10:33 PM, Ronald Dehuysser < ronald.dehuys...@gmail.com> wrote: > Hi Claus, > > Jira CAMEL-7109 with patch attached was created. > > Kind regards, > R > > > On Sun, Jan 5, 2014 at 1:16 PM, C

BUG: Stack Overflow with long recipient list using default delimiter.

2014-01-07 Thread pmcb55
Hi, The JUnit test below illustrates a Stack Overflow bug when using a long recipient list with the default delimiter (a comma). The overflow is caused by a regex (",(?!(?:[^\\(,]|[^\\)],[^\\)])+\\))") in the 'createIterator()' method in the class 'org.apache.camel.util.ObjectHelper', which is us

Re: Add SOAP header into spring-ws route

2014-01-07 Thread horyna
And me answer: messageFilter for SpringWebserviceComponent was sets to custom implementation, with does not support storing values into Soap header -- View this message in context: http://camel.465427.n5.nabble.com/Add-SOAP-header-into-spring-ws-route-tp5745673p5745678.html Sent from the Camel

Re: ActiveMQ processing

2014-01-07 Thread jamalissimo
Hi hekonsek, I know that I will get the result when the request is solved in queue, but for example, when I am processing big amount of data, I don't want to wait 20 seconds. I can use "to("direct:foo")" for this purpose. I just want add the requests to the queue and return result right away(like

Re: ActiveMQ processing

2014-01-07 Thread Henryk Konsek
> If you are not using InOnly pattern If you *are* using InOnly pattern

Re: ActiveMQ processing

2014-01-07 Thread Henryk Konsek
Hi Roman, > I simply need to send request to add user and immediately > receive response that it was added in the queue and is being processed Your route seems to do it :) . If you are not using InOnly pattern (just as you do), Camel will proceed to bean:response as soon as the JMS message will b

Add SOAP header into spring-ws route

2014-01-07 Thread horyna
Hi, i have route below and no idea how to add SOAP Header into response. Any help pls.? from("spring-ws:rootqname:" +new QName(MM7_VF_NS, "DeliverReq") + "?endpointMapping=#endpointMapping") .unmarshal(jaxb(DeliverReqType.class, new QName(MM7_VF_NS, "DeliverReq"))) .

Re: Need for XA?

2014-01-07 Thread Henryk Konsek
> I meant XA processing Switching from local transactions to XA in Camel is not really complicated. All you have to do is switching your connection factories and transaction manager to XA-aware ones. And of course making sure that you don't have certain options enabled on Camel endpoints (like JMS

Re: Asynchronous processing of routes

2014-01-07 Thread Henryk Konsek
> Correct me if I am wrong. Camel will correlate the response if the other > service sends back the response with the same correlation ID as was sent to > it in the Request. > In our case, the other services are third-party C++ services which work > directly with MQ and do not use Camel. Reply cor

Stream consuming in Camel

2014-01-07 Thread Chirag Dewan
Hi All, I am using Apache Camel 2.12.1. I have a use case where one of my thread is outputting data to a stream. I need a camel consumer which consumes this stream from that thread and produces a file using camel-file or camel-ftp. Looking at the components,I wonder what I can effectively use h

AW: Add date to logs

2014-01-07 Thread jhm
Because the log-component delegates to an underlying logging framework using sl4j, it should be possible to change the log format of that underlying logger. Jan /log4j.properties log4j.appender.camel=org.apache.log4j.ConsoleAppender log4j.appender.camel.layout=org.apache.log4j.PatternLayout l

Re: What organizations are using Camel?

2014-01-07 Thread Claus Ibsen
Hi You can also find some organization names from presentations at the CamelOne conferences, where some present their usage of Camel, ActiveMQ, etc. http://camelone.com/ On Tue, Jan 7, 2014 at 12:31 PM, char_76 wrote: > Hi all, > > Does anyone have a list of organizations that are using Camel

What organizations are using Camel?

2014-01-07 Thread char_76
Hi all, Does anyone have a list of organizations that are using Camel in Production? We are looking to recommend Camel to our Technical Design Authority and would be great if we were able to refer to a few other organizations (preferably large, well known) that are using Camel to support our recom

Re: Camel cxf with basic authentication

2014-01-07 Thread akshattandon
Thanks Jiang for the response can you please provide the java dsl code to achieve the same as we don't use spring . -- View this message in context: http://camel.465427.n5.nabble.com/Camel-cxf-with-basic-authentication-tp5745620p5745666.html Sent from the Camel - Users mailing list archive a

Re: Camel RemoteFilePollingConsumerPollStrategy and retry

2014-01-07 Thread geppo
Thank you! -- View this message in context: http://camel.465427.n5.nabble.com/Camel-RemoteFilePollingConsumerPollStrategy-and-retry-tp5745503p5745665.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Add date to logs

2014-01-07 Thread Reji Mathews
Hi Satyam. Probably you can use Camel Simple (Refer on http://camel.apache.org/simple.html) . You can embed the date function into the camel log string On Tue, Jan 7, 2014 at 3:03 PM, Satyam Maloo wrote: > Hi, > > Currently I am logging the operations as : > > /> > > Now, I want to add date to

Re: StackTraceElement using heap.

2014-01-07 Thread tkvarenes
Hi. doing a heap dump with 20 minutes time between shows me that instances of these classes are increasing: org.apache.cxf.common.i18n.Message org.apache.cxf.interceptor.Fault org.apache.cxf.jaxws.context.WrappedMessageContext The other classes that are increasing are mainly standard java classe

Add date to logs

2014-01-07 Thread Satyam Maloo
Hi, Currently I am logging the operations as : Now, I want to add date to log. How do I do that? - Satyam A Maloo -- View this message in context: http://camel.465427.n5.nabble.com/Add-date-to-logs-tp5745662.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: multicast aggregation

2014-01-07 Thread Claus Ibsen
Hi Yeah its a little bug. I have reproduced the problem and working on a fix. https://issues.apache.org/jira/browse/CAMEL-7111 On Mon, Jan 6, 2014 at 12:13 PM, Minh Tran wrote: > I am using 2.12.2. > > On 06/01/2014, at 6:42 PM, Claus Ibsen wrote: > >> What version of Camel do you use? >> >> On

Re: Camel RemoteFilePollingConsumerPollStrategy and retry

2014-01-07 Thread Claus Ibsen
Then you can stop the consumer in the rollback method when you want to "give up" On Mon, Jan 6, 2014 at 6:23 PM, geppo wrote: > yes > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-RemoteFilePollingConsumerPollStrategy-and-retry-tp5745503p5745634.html > Sent f

Re: StackTraceElement using heap.

2014-01-07 Thread Claus Ibsen
On Mon, Jan 6, 2014 at 4:11 PM, tkvarenes wrote: > Hi, > > I use camel 2.11.1 > > It's not that the stack traces elements are any longer than usual, but I > would expect them not to be referenced any more so the GC could remove them, > but to me it seems like something is still holding a refence t