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 copy a file in that folder, is it picked up by Camel, such as
it will delete it after processing?

In you case you are missing to parse the input file and set the header
for the routing slip.



Does the On Wed, Jan 7, 2009 at 12:18 PM, Karuna Arshakota
<[email protected]> wrote:
>
> 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
> <beans xmlns="http://www.springframework.org/schema/beans";
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="
> http://www.springframework.org/schema/beans
> http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
> http://activemq.apache.org/camel/schema/spring
> http://activemq.apache.org/camel/schema/spring/camel-spring.xsd";><camelContext
> id="camelroute" xmlns="http://activemq.apache.org/camel/schema/spring";>
> <route xmlns="http://activemq.apache.org/camel/schema/spring";>
>    <from
> uri="file:///D:/Eclipse3.4.1/runtime-New_configuration1/ABC/src/pick?autoCreate=false&amp;lock=false"
> id="Camel_File_2"/>
>    <routingSlip uriDelimiter="#" headerName="routingSlipHeader"
> id="Camel_RoutingSlip_4"/>
> </route>
> </camelContext></beans>
>
> and input file
>
> <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
> <content>
>    <entry type="1">
>        <textMessage JMSCorrelationID=""
> routingSlipHeader="file:///D:/Eclipse3.4.1/runtime-New_configuration1/ABC/src/drop#file:///D:/Eclipse3.4.1/runtime-New_configuration1/ABC/target"
> JMSDeliveryMode="2" JMSExpiration="0"
> JMSMessageID="ID:nbkarshkoxp-1878-1230290090906-0:0:1:1:1" JMSPriority="1"
> JMSRedelivered="true" JMSTimestamp="1230290093827" JMSType="">
>            <text>1</text>
>        </textMessage>
>    </entry>
> </content>
>
>
> Could you please check this and let me know any wrong in configuring.
>
>
>
>
>
>
>
> Claus Ibsen-2 wrote:
>>
>> 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?
>>
>> <from uri="file://inbox"/>
>> <to uri="file://outbox"/>
>>
>>
>> On Wed, Jan 7, 2009 at 6:26 AM, Karuna Arshakota <[email protected]>
>> wrote:
>>>
>>> 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 slip pattern.I am using
>>>> camel 1.4.
>>>>
>>>> Please find that attached camel xml and input xml which am sending this
>>>> through an endpoint('somequeue')
>>>>  http://www.nabble.com/file/p21305734/Header.xml Header.xml
>>>> http://www.nabble.com/file/p21305734/camel-debugger-tmp6214.xml
>>>> camel-debugger-tmp6214.xml
>>>>
>>>> First time i got a message to the 'output' endpoint(URI) but when I ran
>>>> after that many times but no message were coming to the mentioned URIs.I
>>>> am expecting the message should come to all URIs that i mentioned in the
>>>> input xml (myqueue and output).Am I correct? Could you please explain
>>>> the
>>>> functionality of routing slip and explain me how can i really use it.
>>>> Thanks for all ur help in Advance
>>>>
>>>>
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/configure-routing-slip-tp21305734s22882p21325171.html
>>> Sent from the Camel - Users mailing list archive at Nabble.com.
>>>
>>>
>>
>>
>>
>> --
>>
>> /Claus Ibsen
>> Apache Camel Committer
>> Blog: http://davsclaus.blogspot.com/
>>
>>
>
> --
> View this message in context: 
> http://www.nabble.com/configure-routing-slip-tp21305734s22882p21329355.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>



-- 

/Claus Ibsen
Apache Camel Committer
Blog: http://davsclaus.blogspot.com/

Reply via email to