Hi, Ok I'll try to find out how to do that... :-)
Do we have an archetype for maven 2 for this kind of project structure? Regards, Cedric. -----Message d'origine----- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Envoyé : 06 February 2007 15:37 À : [email protected] Objet : RE : RE: RE : extension of HelloWorld BC Hello cedric, i don't know all your need, with hello world you have to re-develop all component from scratch, it is good for very specific need like call an proprietary protocol. But with several servicemix components you just have to provide your custom marshaller. The component does the remainder. For an example just see MimeMailSender with MimeMailMarshaller. Cordialement, Grégoire A. --- Bompart Cedric <[EMAIL PROTECTED]> a écrit : > Hi, > > Can you be a little bit more specific please? With > an example... and if I want to change the NMR > message before sending it via email? I though I'll > base this scenario on the HelloWorld BC example... > > Regards, > Cedric. > > -----Message d'origine----- > De : [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Envoyé : 06 February 2007 12:45 > À : [email protected] > Objet : RE : extension of HelloWorld BC > > hello cedric, > > i will just reply for your second question, > I can use servicemix-file to poll your directory > use a marshaller to map your file to a jbi-message. > and use target attribute to send it to the email > sender > (http://cwiki.apache.org/confluence/display/SM/Email). > You have to describe strictly your jbi-message, to > map > your file properties to your email ones. > > Cordialement, > Grégoire A. > > --- Bompart Cedric <[EMAIL PROTECTED]> > a > écrit : > > > Hello, > > > > I'm using the SM 3.1 release (Java 1.5) and I've > > followed the tutorial > > on http://servicemix.org/site/hello-world-bc.html. > > So far it's all > > compiled and deployed successfully in SM. > > > > Currently the provider endpoint is called by the > > test class, so I've > > added a content string to the out message. Do I > need > > to do anything else > > to the "processInOut" method? > > > > The entire code described for the consumer > endpoint > > is not used, how can > > I use it when it's deployed to SM? > > > > What I would like to do (to get familiar with SM), > > is to poll files from > > a directory (using servicemix-file, I think) and > > send an email when the > > file is received from the NMR. How can I achieve > > this? Can I do that > > with a BC approach (with custom code) or this > > scenario can be handled > > with a plug and play approach (via the > > servicemix.xml)? > > > > Sorry I'm trying to learn and produce a proof of > > concept on ESB... > > > > Regards, > > Cedric. > > > > > > > > > > > > ___________________________________________________________________________ > > Découvrez une nouvelle façon d'obtenir des réponses > à toutes vos questions ! > Profitez des connaissances, des opinions et des > expériences des internautes sur Yahoo! > Questions/Réponses > http://fr.answers.yahoo.com > > > ___________________________________________________________________________ Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses http://fr.answers.yahoo.com
