We have already discussed the same need several times on this list.
I think it would be solved by adding a poller endpoint that acts as a
provider and not a consumer: i.e. it would actively poll a destination
for a single file (or maybe return the list of available files).  This could
also be used with dynamic endpoints (currently, consumers can not
be created dynamically).
This is the only real way to solve the problem correctly imho, but noone
has been interested enough to start contributing something it seems.
It you are interested, i'd be happy to give you all the needed informations.

On 5/18/07, Bruce Snyder <[EMAIL PROTECTED]> wrote:

On 5/18/07, Scott Johnson <[EMAIL PROTECTED]> wrote:
>
> Given a service assembly that appears like this:
>
>         FtpPoller -> Pipeline EIP -> RoutingSlip EIP -> (n custom SEs)
>
> We have a scenario where a customer would want to specify the period
> at which the FTP poller would grab files from the specified FTP host.
>
> However, we also have the requirement to let the customer "fire" off
> that very same process at their whim, regardless of the configured
> period.
>
> Is there a way to cause the poller to do it's thing using the same
> service assembly or would I have to "on-the-fly" write out a new
> assembly to cause it to happen?

This could probably be achieved using the servicemix-quartz component:

http://incubator.apache.org/servicemix/servicemix-quartz.html

Bruce
--
perl -e 'print
unpack("u30","D0G)[EMAIL PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

Apache Geronimo - http://geronimo.apache.org/
Apache ActiveMQ - http://activemq.org/
Apache ServiceMix - http://servicemix.org/
Castor - http://castor.org/




--
Cheers,
Guillaume Nodet
------------------------
Principal Engineer, IONA
Blog: http://gnodet.blogspot.com/

Reply via email to