Hi Guillaume, this clarified the situation a little. So the NMR subproject is used to have the standard JBI 1.0 functionality, right? But now I am a little confused what the OSGi is used for? The standard integrator or component developer (I read that there will be no components any longer, just Endpoints) will never write raw OSGi services?
Just a little example: If I am going to write a component that receives IPP and LPR print jobs and puts the jobs to the jbi bus. How would this be done in the new smx? Still by writing a binding component or do I write an OSGi service for this? If OSGi, how do I put the jobs on the bus? I know, a lot of questions...I am still a little confused. Anyway, I will try the camel example now again ;) Regards, Lars gnodet wrote: > > On Jan 11, 2008 1:01 AM, Guillaume Nodet <[EMAIL PROTECTED]> wrote: > >> 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. >> > > Snapshots are being deployed, so please try again in one hour or so. > > >> >> >> >> > >> > >> > 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/ > > > > > -- > Cheers, > Guillaume Nodet > ------------------------ > Blog: http://gnodet.blogspot.com/ > > -- View this message in context: http://www.nabble.com/SMX4---FilePoller-Example-like-in-SMX3--tp14742056s12049p14750582.html Sent from the ServiceMix - User mailing list archive at Nabble.com.
