Hi I got the output as mentioned below
Jan 13, 2009 2:40:00 PM org.apache.camel.processor.Logger process
INFO: ID-nbkarshkoxp/4717-1231837799623/2-0 -> interceptor1
Interceptor[Delegate(Pipeline[DeadLetterChannel[Delegate(TraceInterceptor[Processor[ref:
mySetHeaderProcessor]]),
RecipientList[lo
Have you tried enabling tracing? If so could you attach the output?
http://activemq.apache.org/camel/tracer.html
2009/1/9 Karuna Arshakota :
>
> Hi
> i got the output when put
>
> System.out.println(exchange.getIn());
> System.out.println(exchange.getIn().getClass().getName());
>
> FileMessage:
>
Hi
i got the output when put
System.out.println(exchange.getIn());
System.out.println(exchange.getIn().getClass().getName());
FileMessage:
D:\Eclipse3.4.1\runtime-New_configuration1\ABC\src\pick\Header.xml
org.apache.camel.component.file.FileMessage
Claus Ibsen-2 wrote:
>
> Hi
>
> Can
Hi
Can you output the exhange itself
System.out.println(exchange.getIn());
System.out.println(exchange.getIn().getClass().getName());
In your processor between the before and after
We want to see what kind of object you are working with.
On Thu, Jan 8, 2009 at 12:28 PM, Karuna Arshakota wro
Hi
I tried like as you said but still am not able to route the message to
particular destination.I tried with file target and jms endpoints also.
see the camel xml and class
http://www.springframework.org/schema/beans";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi
Hi
Ah was added in Camel 1.5.0 I think, so if you are running
on an older release its not there.
You can add the header from Java code. You can use a
And then add a spring bean with this id
And then create a class with this name
com.mycompany.MySetHeaderProcessor that implements the
org.apac
hi
I have set as u have mentioned but when i ran camel xml it it throwing
exception saying
"cvc-complex-type.2.4.a: Invalid content was found starting with element
'constant"
Claus Ibsen-2 wrote:
>
> Hi
>
> You should use for constant expressions.
>
>
>
> file:///
Hi
You should use for constant expressions.
file:///D:/Eclipse3.4.1/runtime-New_configuration1/ABC/src/target
On Thu, Jan 8, 2009 at 6:40 AM, Karuna Arshakota wrote:
>
> hi
> I am sure that camel is running on my machine.I tried some thing
hi
I am sure that camel is running on my machine.I tried some thing like
this.I am trying to send input file to which am setting some header to it
from camel xml.But the problem is while running the camel it throwing
exception as mentioned below and also find camel xml.
.
http://ac
Hi
We have to step back a bit on the routing slip to see that you can run
camel and it can do something.
So try the simple file mover without routingslip to see the file is
moved. Then we now Camel is running and it can do something. Then we
can address the routing slip issues afterwards
When you
hi
I tried with file endpoints but it doesnt work.i am trying resolve the
problem but I am not able to do
this is camel xml
http://www.springframework.org/schema/beans";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="
http://www.springframework.org/schema/beans
http:/
Hi
That is a bit odd. I added a JMS sample:
http://svn.apache.org/viewvc?view=rev&revision=731874
Can you try with other kind of endpoints/transport to see if you for
instance can get a file mover working?
On Wed, Jan 7, 2009 at 6:26 AM, Karuna Arshakota wrote:
>
> thanks for ur quick respo
thanks for ur quick response.Ya I have read the link mentioned in wiki.Still
I am getting same problem that i have mentioned earlier.
Karuna Arshakota wrote:
>
> hi,
> I am new to Camel and found very interesting to work with patterns.I am
> trying different patterns but struck at routing sli
Hi
Yeah it looks correct. I guess you have read the wiki page at:
http://activemq.apache.org/camel/routing-slip.html
It could do with an update though as it's a bit sparse with samples.
Let me try to create a sample (based on unit test) using JMS as you
sample and see how it goes.
On Tue, Jan
14 matches
Mail list logo