Hi,
I am a newbie with Camel.
1. how does the routesBuilder work in IDS? simple "from" and "to in code of
course does not compile...
2. I have the following spring section:
http://camel.apache.org/schema/spring";>
I started the upload like this
CamelContext context = new DefaultCamelContext();
RouteBuilder route = createRouteBuilder();
context.addRoutes(route);
context.start();
I'm able to get the route service status by
RouteDefinition definition = context.getRouteDefinitions().get(0);
context.getRouteS
Christopher,
Claus has got you covered ;) There is an EventNotification mechanism
that you can use. Add the following to your routes configure
public class InvokedOnStartupRoute extends RouteBuilder {
@Override
public void configure() throws Exception {
final CamelContext context
How did you trigger the uploading thread ?
You can let the main thread wait for your uploading thread, if you start
the uploading thread from the main thread.
Willem
Hebert Hu wrote:
Thanks for your swift reply.
I think I found the problem just due to the uploading and downloading at the
sa
Thanks for your swift reply.
I think I found the problem just due to the uploading and downloading at the
sametime.
One more question, it seems that the uploading process is runing on a
separate thread. Sometimes the main program finishes before the uploading
thread returns, that stops the upload
Hi Stephen,
Thanks for your response.
I do understand the use of the direct component, but thanks for the
explanation any how.
I guess using the Spring Events mechanism will get me there, but it'd be
nice to codify the solution in a way that remains agnostic of being invoked
from Spring.
I'm t
Hi,
I just did a quick search and find Smack API 3.1.0 (which is not finally
released yet) supports the proxy setting[1].
And now we use the Smack API 3.0.4 in camel-xmpp component, and it
doesn't support the proxy setting.
Please feel free to submit a upgrading patch for it :)
[1]http://www
Hi,
So I like to think of "direct" endpoints as internal connectors for
for linking routes. They are a great way of decoupling the business
and workflow logic in your routes from the transport related logic.
Say for instance your service that Quartz executes is defined in a
bean 'myservice'. You
One thing that has always eluded me is how to specify that something be done
immediately upon the CamelContext having started up.
For example, I have a Quartz based service that executes every hour at 10
minutes past the hour. However when the CamelContext starts up I'd like this
service to be in
Yes, Claus :) I understand :) No offense meant!
On Mon, Dec 28, 2009 at 9:32 PM, Claus Ibsen wrote:
> On Mon, Dec 28, 2009 at 3:24 PM, Nick Chistyakov
> wrote:
> > Hi Claus!
> >
> > Not the easiest way to get to know it :)))
> > But thanks!
>
> This is not the final answer. The people who crea
On Mon, Dec 28, 2009 at 3:24 PM, Nick Chistyakov wrote:
> Hi Claus!
>
> Not the easiest way to get to know it :)))
> But thanks!
This is not the final answer. The people who created the component may
have more details about the optimizations etc.
I personally dont have the time to track that dow
Hi Claus!
Not the easiest way to get to know it :)))
But thanks!
Best regards,
Nick
On Mon, Dec 28, 2009 at 11:57 AM, Claus Ibsen wrote:
> Hi
>
>
> On Sun, Dec 27, 2009 at 6:42 PM, Nick Chistyakov
> wrote:
> > Hello guys,
> >
> > Merry christmas! Hope you are having a good time!
> >
> > Somet
Hi
There is also Milton
http://milton.ettrema.com/index.html
Its Apache licensed so we can create a component for it and have it in
the Camel kit.
But I guess if JackRabbit is on the WebDav wagon you can maybe use camel-jcr?
http://camel.apache.org/jcr
On Tue, Dec 22, 2009 at 9:01 AM, Charles
Hi
And uploading and downloading at the *same* time from the same JVM may
not be a good idea. You may start to download files while they are
being uploaded. I wonder if the FTP server supports locking the file
during upload process.
You can use tempPrefix to upload the files with a inprogress fil
Hi
What version of Camel are you using?
I can see you are using Windows which have some issues with its file
system locking files.
We have made some recent fixes in the 2.2 trunk code and 2.1 as well.
So try with latest version.
On Mon, Dec 28, 2009 at 9:18 AM, Hebert Hu wrote:
>
> Hi,
>
> I'
Hi
On Sun, Dec 27, 2009 at 6:42 PM, Nick Chistyakov wrote:
> Hello guys,
>
> Merry christmas! Hope you are having a good time!
>
> Sometimes, reading the project documentation, I come across the declarations
> that the ActiveMQ component of Camel project is set up with a number of
> optimization
Hi,
I've encountered a strange problem when using Camel Sftp component for
uploading.
Here's my code
protected RouteBuilder createRouteBuilder() throws Exception {
return new RouteBuilder() {
public void configure() throws Exception {
from("file:c:\\uplo
17 matches
Mail list logo