This part I'm not clear on and it raises more questions.
When using the JDK one generally uses the Executors factory methods to
create either a Fixed, Single or Cached thread tool. These will use a
SynchronousQueue for Cached pools and LinkedBlockingQueue for Fixed or
Single pools. In the case o
Yup, my bad...has to be after all my routeContextRef's.
-Dave
On Thu, Nov 19, 2015 at 11:35 PM, Claus Ibsen wrote:
> The order matters so you may need to change the order. The XSD schema
> tells you the order and your editor should very likely be able to
> validate the XML for you.
>
> On Fri,
Okay very good, that is what I thought but wanted to be sure.
-Dave
On Thu, Nov 19, 2015 at 11:42 PM, Claus Ibsen wrote:
> No its only executed one time on the first poll.
>
> If you stop and remove the route, and add another similar route back,
> then yeah its a new route/consumer and it will
So, the question really is:
Is there a way to control how messages are de-queued?
In other words:
Instead of this:
1) Message is dequeued
2) Load balancer cannot be sent onto the proper destination because it's
queue is full
3) Load balancer blocks
How can I implement:
1) Peek at the messag
Sure, I'll do it!
Best regards,
Fabricio Toresan
--
View this message in context:
http://camel.465427.n5.nabble.com/Columns-order-in-ResultSetIterator-tp5774150p5774153.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi,
Can you create a pull request with the fix? It looks like a low hanging
fruit.
Cheers!
pt., 20.11.2015 o 14:30 użytkownik ftoresan
napisał:
> I'm using the JDBC component, and when I retrieve the columns from a
> ResultSetIterator using the method getColumns they are returned randomly. I
>
Hi Yogesh
Thanks - yes, I guess I could use split. I was angling for a “Simple” based
solution, or doing something when I convert the body to String.
For now I’m stripping the trailing linebreak from the stdout in the shell
script.
I'll have to watch that in future.
Thanks
James
--
View th
Hi,
I am trying to setup a websocket using Camel 2.16.0 that echo's back
everything it receives.
I had a look at http://camel.apache.org/websocket.html and something like:
from("websocket://echo")
.log(">>> Message received from WebSocket Client : ${body}")
.transform().simple("${body}${bo
I'm using the JDBC component, and when I retrieve the columns from a
ResultSetIterator using the method getColumns they are returned randomly. I
expected to receive them in the same order they appear in the query
projection.
The problem is the use of a HashSet instead of a LinkedHashSet to return
I am using restlet component and want to set the property "restletRealm" on
it. My problem is that all set Property methods only take a string as value.
So i get an exception that string can not be converted to map if i set:
restConfiguration().component("restlet").port(port).endpointProp
We could also add a route policy out of the box that checks for those
empty messages and then auto stop a route.
http://camel.apache.org/routepolicy
There is a number of people asking how to stop a route from a route,
or when to stop when there is no more data etc.
http://camel.apache.org/how-can-
Hi,
The file (and ftp) component has an option sendEmptyMessageWhenIdly.
You could do the following: have one route that consumes from the FTP server
(with sendEmptyMessagesWhenIdle set to true). From there send the messages (via
direct) to another route. That route checks for empty message bod
I need to stop the route if there are no files on the endpoint.
My sequence of steps are as follows
1> Get Payload form JMS Queue.
2>Delete and zip all the files on the SFTP server.
3>Move the payload to the SFTP.
So in the 2nd step I am acquiring lock and once the files are deleted, I am
moving t
Hi,
Do you want to stop the route or do you want to stop the aggregation into a zip
file?
If you really want to stop the route, you can do that with the controlbus
component.
http://camel.apache.org/controlbus-component.html
If you just want to aggregate files into a zipfile till you have co
How about using .split(body(String.class).tokenize("\n")) ??
Regards,
-Yogesh
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-Simple-deal-with-line-breaks-tp5774105p5774142.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi,
I think this should work, considering direct-vm was developed for
communicating across contexts within the same VM. Not sure how it would
behave in Fuse though.
Can you confirm both the bundles use the same version of camel core
dependency ?
Regards,
-Yogesh
--
View this message in contex
0
down vote
favorite
I am trying to zip all the files on the SFTP endpoint and move it to some
other location. It is working fine but if there are no files on the SFTP
endpoint I need to stop the route. There is an option
sendEmptyMessageWhenIdle on file endpoint to handle such scenario.
17 matches
Mail list logo