Hi Lars ! On Jan 10, 2008 8:42 PM, lhe <[EMAIL PROTECTED]> wrote:
> > Hi, > > yesterday I tried ServiceMix 4 for the first time. I downloaded the binary > and got it running. > The camel example as described didn't worked for me but I then just took > the > Apache Felix tutorial and built some of the examples there. I deployed > them > successfully to smx4 and they worked fine. (as expected for OSGi) I will update the page to make sure the camel example works. > > > So now I am looking for some tutorial to do a simple example application > like this: > > A file poller watches a folder for new files and hand them over to some > other service (I would expect an OSGi service?). Not an OSGi service directly. I mean, it will be a ServiceMix endpoint, and such endpoints are registered as OSGi services, but you won't be able to use any existing OSGi service for that. > > > I think such a simple example was delivered with servicemix 3. (file > binding > or something like this) > > Can anyone describe what I have to do for this? I suppose that something > like a file poller should be a standard citizen of the new servicemix. Sure. The confusion may come from the fact that i think you have downloaded and tested ServiceMix Runtime, which is not a bus in any way. This will be provided by ServiceMix NMR (see http://servicemix.apache.org/runtime/faq.html). The ServiceMix NMR will provide a JBI 1.0 container so that you'll be able to deploy any JBI compliant application. Another way will be to deploy a simple camel route inside the runtime, as camel is now composed of OSGi bundles. Such an example may be part of the ServiceMix NMR or of the camel integration for ServiceMix 4. Does that make sense ? > > > Any help is welcome. > > Best regargs, > Lars > > -- > View this message in context: > http://www.nabble.com/SMX4---FilePoller-Example-like-in-SMX3--tp14742056s12049p14742056.html > Sent from the ServiceMix - User mailing list archive at Nabble.com. > > -- Cheers, Guillaume Nodet ------------------------ Blog: http://gnodet.blogspot.com/
