Yeah I don't believe that's what I was looking for, but thanks!

However, I did get my problem solved.. maybe in a more roundabout way but it
works.

What I did was do a block like this in my Spring:
...
    <choice>
      <when>
        <simple>${headers.CamelBatchComplete} == true </simple>
        <bean ref="com.myClass" method="setModifiedTime"/>
      </when>
    </choice>
...
I'm assuming there's a nicer way to do this, but I was trying to keep things
as simple as possible and blatantly obvious and I think I achieved that,
haha. 

Thanks for the help!

PS.  I think it would be nice for someone to start going through the Camel
documentation website pages, there are all different font sizes and parts
missing and sometimes links take you to pages that have just a sentence or
so and that sentence has a link to somewhere else.  
I never would have found out that i can do the "<choice><when><simple>..."
stuff unless I had accidentally stumbled across it on StackOverFlow 



--
View this message in context: 
http://camel.465427.n5.nabble.com/Running-function-at-the-end-of-FTP-Polling-tp5785687p5785793.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to