Hi
Try looking at the chapter 1 of the Camel in Action book which has a
file copy example
http://www.manning.com/ibsen
And make sure you can run it from Eclipse with no issues.
Bottom line is to get the simple things working first, and then add to it.
On Mon, Apr 19, 2010 at 6:37 PM, Kevin Figh
Hi,
Can you try to run the copy route alone with the JMS component involved?
BTW can you also try the copy route with out delete the file? Just like this
"file://project_feedoutput/?recursive=true"
Willem
Kevin Fightmaster wrote:
I'm trying to get a simple example up in working with files:
Hi
camel-jetty does not currently support shutting down by stopping
intaking new requests while allowing existing to be processed to
completion.
In fact this is something that each individual component has to implemented.
This can be done by supporting the SuspendableService on the consumer.
Then
After digging the code, I found why your first "remote server" can
receive the message.
There is a ProducerCache for the RecipientList and it only take the
endpoint's uri as the key(in camel the uri is the key of endpoint), and
all your remote endpoint are with the same uri.
For your case, y
Hi Claus,
The test cases were helpful. However, the reason I cannot use "Defer"
option is because my Jetty input point is public, and if I have this
option set, then the new messages will keep comming from the clients
and the context will never be done. My goal is stop processesing
gracefully whi
Starting at 5.30pm here: http://www.mickeesonthewater.com/
Making way to Boston (or until I fall over) - all welcome :)
cheers,
Rob
Claus, thanks for your response.
If I use the Defer option on both of my routes (jetty and jms) then
the system does not shut down because new messages are constantly
coming from my clients (producers).
I tried the other scenario, recommended in the documentation:
In my case the jetty route is a
See this unit test
http://svn.apache.org/viewvc?rev=935691&view=rev
On Mon, Apr 19, 2010 at 7:52 PM, Claus Ibsen wrote:
> Hi
>
> Just defer shutting down the Jetty route.
> http://camel.apache.org/graceful-shutdown.html
>
> On Mon, Apr 19, 2010 at 7:08 PM, Ilya S wrote:
>> I'd like to bump this
Hi
Just defer shutting down the Jetty route.
http://camel.apache.org/graceful-shutdown.html
On Mon, Apr 19, 2010 at 7:08 PM, Ilya S wrote:
> I'd like to bump this thread up, and see if anyone has any suggestions.
> Thanks.
>
> On Thu, Apr 15, 2010 at 10:24 AM, Ilya S wrote:
>> Here is a more de
Thanks Willem for your comments. I posted a simpler version of my code. My
actual code was adding a camel Component (ActiveMQComponent) by using
CamelContext.addComponent and I'm trying to retrieve the component by
calling getComponent. The key is hash of the IP address, basically like
CamelCont
I'd like to bump this thread up, and see if anyone has any suggestions.
Thanks.
On Thu, Apr 15, 2010 at 10:24 AM, Ilya S wrote:
> Here is a more detailed log (with TRACE level on) if that can help:
>
> [CP Connection(4)-10.58.123.154] DefaultCamelContext INFO
> Apache Camel 2.2.0 (Came
I'm trying to get a simple example up in working with files:
ContextFile 1
http://www.springframework.org/schema/beans";
xmlns:context="http://www.springframework.org/schema/context";
xmlns:camel="http://camel.apache.org/schema/spring";
xmlns:broker="http://activemq.apache.org/schema/core";
I'm trying to get a simple example up in working with files:
ContextFile 1
http://www.springframework.org/schema/beans";
xmlns:context="http://www.springframework.org/schema/context";
xmlns:camel="http://camel.apache.org/schema/spring";
xmlns:broker="http://activemq.apache.org/schema/core";
Hello,
When trying to use the Velocity component I encountered a problem.
I have a Simple SQL query I would like to built using the Message Body (XML)
I was using an XSL file to perform the transformation by extracting the
values into the SQL query templace.
INSERT INTO person VALUES('','','',
Hi
You can intercept and detour the message using InterceptSendToEndpoint
http://camel.apache.org/intercept.html
Or you can just create a MailMessage object and put it on the Exchange
IN Message.
On Mon, Apr 19, 2010 at 12:50 PM, Srini97 wrote:
>
> Hello ,
>
> is there any way that we can sen
Hello ,
is there any way that we can send the mail over direct connection rather
using the SMTP connecton.
Thanks in advance for the valuable suggestion.
Regards
Sri
--
View this message in context:
http://old.nabble.com/Mail-component-support-direct-connection-to-send-email-as-opposed-to-sm
Hi
Ah I digged a bit more.
Only when you use ${ } Camel uses the complex concat expressions.
So you can do
body
And it should work.
On Mon, Apr 19, 2010 at 9:28 AM, Olivier Roger wrote:
>
> Hello Claus,
>
> I was using the tokenize on "]," but some brackets from the toString
> representatio
Hi
Yeah I can see the problem now.
The language was originally designed for creating dynamic
Strings, and hence ${body} is parsed as "" + body, which cause Camel
to type coerce the body to a String type as well.
I will look into this.
On Mon, Apr 19, 2010 at 9:28 AM, Olivier Roger wrote:
>
>
Hi
Its open source so you can always implement a patch and provide it
back to Apache.
On Mon, Apr 19, 2010 at 10:57 AM, lekkie wrote:
>
> He didnt leave his contact info in here.
>
> Can help with that?
>
> kr.
>
>
> Claus Ibsen-2 wrote:
>>
>> Hi
>>
>> Christian Mueller developed and contribute
Claus Ibsen-2 wrote:
>
> On Thu, Apr 15, 2010 at 8:53 AM, lekkie wrote:
>>
>> I checked it out on Amazon and it says it has not been released.
>>
>> Where else can I get it?
>>
>
> See my mail signature :)
> http://www.manning.com/ibsen
>
> If you buy from Manning you can can get the MEAP v
He didnt leave his contact info in here.
Can help with that?
kr.
Claus Ibsen-2 wrote:
>
> Hi
>
> Christian Mueller developed and contributed this component to Apache.
> Maybe try get in touch with him.
>
>
>
> On Thu, Apr 15, 2010 at 7:32 PM, iocanel
> wrote:
>>
>>
>> lekkie wrote:
>>>
>
Hello Claus,
I was using the tokenize on "]," but some brackets from the toString
representation where still present in the result, which is normal.
Using ${body} seems indeed to be what I was looking for.
However, at the moment when I used it, the splitter return 1 message per
cell instead of p
Hi
Just ensure the BODY on the Message is an InputStream which can read
from gzip files.
Then that streaming mode in Splitter should use it as is.
On Fri, Apr 16, 2010 at 1:24 PM, lefdev wrote:
>
> how can i make the following route to work with gzipped files without loosing
> the streaming ad
23 matches
Mail list logo