Re: Rabbitmq URI

2016-12-06 Thread souciance
I can send you samples once I am at work. Den 7 dec. 2016 2:00 fm skrev "kaiser75 [via Camel]" < ml-node+s465427n5791163...@n5.nabble.com>: > Is there a place where I can find some URI samples for RMQ. How are the > options passed and the delimiters > > -- > If you

Camel SQL as delta consumer

2016-12-06 Thread contactreji
Hi gusy I was wondering if camel consumer endpoint has capability to pull out the delta changes which happen on the tables? Ex - Retrieve all those rows changed since last poll without referring on any timestamp column. Regards Reji - Reji Mathews Sr. Developer - Middleware Integration /

ERROR When unloading a WAR (wildfly 9.x)

2016-12-06 Thread chandler
I run a Camel JMS Request Reply in my routes works great. I believe responses go to a temp queue via org.apache.camel.component.jms.DefaultJmsMessageListenerContainer

RE: XSLT transformation Base64binary and camel xslt

2016-12-06 Thread ravi21588
Hi, The document generation system is not directly exposed for consuming in internet. We have custom library classes which we invoke and it return the document as byte[]. once i get the response as byte array,i need to create an xml with just a root element pdf-data. I am assuming that if i

CXF - unmarshal error due to special characters

2016-12-06 Thread JamesG
Hi, I've some CXF services with the following abilities: a) Retrieve from database via JDBC b) Retrieve from another system via TCP (netty) I build the corresponding response java object and let Camel perform the unmarshalling, in which after that CXF would return the SOAP response to the

Re: What to do with Null Body messages?

2016-12-06 Thread Claus Ibsen
Or use a filter eip http://camel.apache.org/message-filter.html You can also general use an intercept from and then detour / stop it if its null http://camel.apache.org/intercept.html On Tue, Dec 6, 2016 at 4:22 PM, Steve Huston wrote: > You can set the ROUTE_STOP property

RE: What to do with Null Body messages?

2016-12-06 Thread Steve Huston
You can set the ROUTE_STOP property to true. http://camel.apache.org/intercept.html has more info. > -Original Message- > From: sa_james [mailto:sa_remin...@hotmail.com] > Sent: Tuesday, December 06, 2016 10:01 AM > To: users@camel.apache.org > Subject: What to do with Null Body messages?

What to do with Null Body messages?

2016-12-06 Thread sa_james
I have a processing Pipeline where I sometimes receive null-Body Messages. When I Forward the Messages to the next steps, there is an error. How do I get rid of the null-Body exchanges? I mean, they have to go somewhere. Thx. -- View this message in context:

RE: receiving with template and sending to the next processing stage

2016-12-06 Thread Steve Huston
You could create a separate Exchange for each message taken from the queue and use a producer template to send them. http://camel.apache.org/producertemplate.html -Steve > -Original Message- > From: sa_james [mailto:sa_remin...@hotmail.com] > Sent: Tuesday, December 06, 2016 9:55 AM >

receiving with template and sending to the next processing stage

2016-12-06 Thread sa_james
I am polling a Queue from time to time with a timer and consuming it with a template. I want to empty the Queue when it is time so I use a Loop. How do I send every single message from my receiveBody to the next processor as I am Looping to empty the Queue? Thx. -- View this message in context:

Re: Saxon and root tag matching

2016-12-06 Thread richardgroote
Hello, When adding a after the spring-ws call than the response is fine. The response of the spring webservice call is DomSource (SAAJMessageFactory is used). Kind regards, Richard -- View this message in context:

Saxon and root tag matching

2016-12-06 Thread richardgroote
Hello, I've a question about using saxon and xslt within Apache Camel. Below is the simplified camel configuration we're uising. The mock service returns some XML. When using the below xslt part than the result after the xslt is the response of the mock service without the xml elements

RE: XSLT transformation Base64binary and camel xslt

2016-12-06 Thread Siano, Stephan
Hi, The statement that you generate the document as a byte array is not sufficient, it essentially means that you have some binary data. If you want to create Base64 encoded data from it, you can use the Base64 data format, but for XML you will probably need some information about the content

Re: Best way to build a wait/retry loop with Camel?

2016-12-06 Thread Joseph Kampf
If you store the messages in a DB, you can use the SQL component to drive your route. You can craft your DB record to include a timestamp and have your SQL component use a relative time query so that once the record reaches the time you want it processed you can kick off your route. Don’t

Issue with Rest DSL, Jetty and Basic authentication

2016-12-06 Thread Remco Schoen
Hi, I'm trying to create an API with Rest DSL and Swagger Java components. For hosting the API I want to use Jetty and use Basic Authentication to secure it. With Jetty 8 the code below works, but with Camel 2.18.1 my code fails in Jetty 9 with this error: No LoginService for

Re: Rabbitmq URI

2016-12-06 Thread kaiser75
apparently there is no way to explicitly specify the queue name in the URI. So I just mapped my exchange and the queues as direct and that worked, but i'd to create 3 excahnges and map them to each Queue , i'll try the topic mode and the routing key to route and see that way i just need one

Re: Rabbitmq URI

2016-12-06 Thread souciance
You can do that but I don't think that is the recommend way because it will probably only work for the default exchange and not the others as they require a binding. On Tue, Dec 6, 2016 at 12:37 PM, kaiser75 [via Camel] < ml-node+s465427n5791096...@n5.nabble.com> wrote: > apparently there is no

RE: Copy current file in a folder

2016-12-06 Thread Hans Orbaan
Use antInclude or implement a fileFilter -Oorspronkelijk bericht- Van: axdz [mailto:hoida...@gmail.com] Verzonden: Tuesday 6 December 2016 11:38 Aan: users@camel.apache.org Onderwerp: Copy current file in a folder Dear all, I have a route

Copy current file in a folder

2016-12-06 Thread axdz
Dear all, I have a route from("file:D:\\folder1").to("file:D:\\folder2"). When route starts, folder1 has 5 files (file1, file2, file3, file4, file5) While route is running, I copy 2 files (file6, file7) into folder1.So when route finishs, all files (7 files) were copied to folder2. I only want

Re: moving file with camel

2016-12-06 Thread Allan C.
I think using timer/quartz with content enricher (pollEnrich) could be your solution. Regards, Allan C. On Tue, Dec 6, 2016 at 4:46 PM, Jan Matèrne (jhm) wrote: > > -I want to filter multiple format file (as .html,.jpg...).How can I do > > it? > > You could read only these

AW: moving file with camel

2016-12-06 Thread jhm
> -I want to filter multiple format file (as .html,.jpg...).How can I do > it? You could read only these files: http://camel.apache.org/file2.html Option "fileName": For consumers, it's used as a filename filter. Or Options include/antInclude/exclude/antExclude Or you use a content based router

Re: Camel Websockets : NoClassDefFoundError: org/eclipse/jetty/http/ssl/SslContextFactory

2016-12-06 Thread reddy.janke
Hello Team, I tried with as per instructions by Maven URL, I used camel 2.14.1 and Websockets 2.14.1 http://mvnrepository.com/artifact/org.apache.camel/camel-websocket/2.14.1 Still getting below issue. SEVERE: Exception sending context initialized event to listener instance of class

Re: moving file with camel

2016-12-06 Thread axdz
Dear, -I want to filter multiple format file (as .html,.jpg...).How can I do it? -I want to set time (time format only includes hours as 04:00) for route moving file.Please give me some advice. Thanks, -- View this message in context:

Rabbitmq URI

2016-12-06 Thread kaiser75
I was going through the documentation for rabbitmq: component. Where can I send the queue name as a parameter in the URI? When I tried this where orders.error is the name of the queue , a random queue with a UUID as a name is created. How do I route my message to the a named queue. --