Re: Multicast with a dynamic list of endpoints

2016-11-23 Thread Steve973
Try using the Recipient List EIP: http://camel.apache.org/recipient-list.html On Wed, Nov 23, 2016 at 6:48 PM, Rajith Muditha Attapattu < rajit...@gmail.com> wrote: > With multicast, I pass in a comma separated list of endpoints to the > "to" component. > > How do I make this dynamic? How could I

Multicast with a dynamic list of endpoints

2016-11-23 Thread Rajith Muditha Attapattu
With multicast, I pass in a comma separated list of endpoints to the "to" component. How do I make this dynamic? How could I pass in a list via a header? Regards, Rajith Muditha Attapattu

CamelBluePrintTestSupport 2.17.0 getRouteDefinition null pointer exception

2016-11-23 Thread owain
I am getting a similar issue to this old issue on 2.14.0 http://camel.465427.n5.nabble.com/getRouteDefinition-throws-NullPointerException-in-CamelSpringTestSupport-before-context-is-started-td5759499.html My unit tests pass ok on IntelliJ IDEA but fail intermittently on mvn when I run the tests

Re: use camel to send mail with word table

2016-11-23 Thread Claus Ibsen
Just set the content on the message body of the Camel. Attachments are only in use if you explicit use the attachments api on Camel message. If the content is text based you can set the body as a String type. On Wed, Nov 23, 2016 at 12:53 PM, Deepak kumar wrote: > Hi Claus, > Converting the dat

Re: use camel to send mail with word table

2016-11-23 Thread Deepak kumar
Hi Claus, Converting the data set part is clear for me. Where i am stuck is what should be the camel mail config parameters and the content type so that the data goes into the body of the mail, not as an attachment. Regards, Deepak -- View this message in context: http://camel.465427.n5.nabble

Re: How to invoking one rest webservice json response list property values to another rest webservice in one router.

2016-11-23 Thread Gunjara
Hi Thanks Tomohisa Igarashi .Its very useful. can I do unmarshall for a file ? I need to save invoked rest webservice json in a json file (product.json) and then I need to unmarshal this as a POJO ...like below .to("http://localhost:8081/products/toDayDate=20161121";) . to("file:output/produc

Re: Unzip huge single entry file throws OutOfMemory

2016-11-23 Thread souciance
I am not sure but wouldn't it be easier to first save the file to disk. Then let another route pick the file and perform unzip. See here: http://stackoverflow.com/questions/18520045/unzip-files-with-apache-camel On Wed, Nov 23, 2016 at 10:41 AM, adalfovo [via Camel] < ml-node+s465427n5790404...@n5

Re: java.io.IOException: Response header too large during upload to camel-jetty endpoint

2016-11-23 Thread Vova Shelgunov
https://yadi.sk/i/HYF4sApXzHrRC - screenshot from first message. 2016-11-23 12:55 GMT+03:00 Claus Ibsen : > We cannot see screenshots on the mailing list (its for plain text mails). I > suggest to find another way to share screenshots. > > On Sun, Nov 20, 2016 at 4:36 PM, Vova Shelgunov wrote: >

Re: Some notes I made on using Camel with Azure Service Bus

2016-11-23 Thread Richard Kettelerij
War stories like these are really valuable. Thanks for blogging about it! On Tue, Nov 22, 2016 at 7:17 AM, Fredrik Jönsson wrote: > Hi, > > I haven’t seen many examples of this sort, so I thought I'd share some > experiences I made when using Camel with Azure Service Bus, just in case > someone

Re: java.io.IOException: Response header too large during upload to camel-jetty endpoint

2016-11-23 Thread Claus Ibsen
We cannot see screenshots on the mailing list (its for plain text mails). I suggest to find another way to share screenshots. On Sun, Nov 20, 2016 at 4:36 PM, Vova Shelgunov wrote: > Hi, > > I have application with the following jetty configuration: > > > https://storage:8443/data/archive?sslCo

Re: java.io.IOException: Response header too large during upload to camel-jetty endpoint

2016-11-23 Thread Vova Shelgunov
I have a case when I need to upload archives, size might be 10GB. I think incoming file should not be saved in memory, but on disk (as tomcat does). >> Also mind there is something I think about not all web browsers / http clients supporting big HTTP headers. I do not send files from browser, the

Unzip huge single entry file throws OutOfMemory

2016-11-23 Thread adalfovo
Hi, we have a 3.5 Mb zip file that contains a 45Mb text file. When we try to unzip it the route throws an OutOfMemory. Camel runs on a Jboss EAP 6.4.5 instance. This is our route : from("servlet://?httpMethodRestrict=POST&servletName=XXX&matchOnUriPrefix=true") .unmarshal().mimeMulti

Re: java.io.IOException: Response header too large during upload to camel-jetty endpoint

2016-11-23 Thread Claus Ibsen
You can configure the header sizes also, you need to set them to higher values https://github.com/apache/camel/blob/master/components/camel-jetty9/src/main/docs/jetty-component.adoc Also mind there is something I think about not all web browsers / http clients supporting big HTTP headers. On Sun,

Re: WS-SecurityPolicy and WS-Timestamp

2016-11-23 Thread Claus Ibsen
Hi Try to get some attention from some of the CXF committers or ask on CXF user mailing list as this question is more about CXF than Camel. If you find an answer then you are very much welcome to write back so others can find this in the future. On Tue, Nov 22, 2016 at 5:11 PM, martin.pelikan wr

Re: Contract first with Swagger and Camel

2016-11-23 Thread Claus Ibsen
Hi Yeah option B could be nice, the rest component could be enhanced to support this. And with a convention as you say with the "direct" routes to map to some routes. Or allow users to configure the context-path -> route id / url mappings. You are welcome to log a JIRA about this idea. For optio

Re: use camel to send mail with word table

2016-11-23 Thread Claus Ibsen
Hi So how do you want to represent a word table? Use a java.util.List or some other kind of java classes. Or do you need to transform the data to CSV or other texts? In other words you can just write some java code that does this transformation. From JSon you can use some of the existing json dat

Re: Handling Exceptions not handled by the DeadLetterChannelBuilder

2016-11-23 Thread Claus Ibsen
Any failures thrown from doStart method of the consumer is causing Camel to not startup and fail. At that time you cannot use bridge error handler. Camel is not yet started and routing. There are many Camel components that does some check on startup and throw exception if its mis configured / cann

Re: Handling Exceptions not handled by the DeadLetterChannelBuilder

2016-11-23 Thread mayur_bm
Thanks Claus. my goal is to handle exception in DoStart method of my custom class which implements *DefaultConsumer*. here i re-used the concept from the link you have given and tried throwing exception using below approach which will raise ExchangeFailedEvent . this event can be handled and i

Camel IDE

2016-11-23 Thread kaiser75
I'm struggling to get the Camel plugin installed and functional on eclipse neon. I downloaded JBoss Tools 4.4.1.Final Stable release. Is there a simple guide that can walk me through the installation process and once installed , how do i go about using the IDE. Thanks much -- View this messag