The service unit for the WSN component is a zip that contains one or more xml files, each one being a valid WSN request. Here are two examples: http://svn.apache.org/repos/asf/servicemix/smx3/trunk/deployables/serviceengines/servicemix-wsn2005/src/test/resources/pullpoint/ http://svn.apache.org/repos/asf/servicemix/smx3/trunk/deployables/serviceengines/servicemix-wsn2005/src/test/resources/subscription/
On Thu, May 8, 2008 at 8:42 AM, sandeep reddy <[EMAIL PROTECTED]> wrote: > > Hi Guillaume Nodet, > > Thanks for reply. > I understood about that JBI Packaging for servicemix-wsn2005 component. > But, these are the areas > still i am bit lagging. > > 1) For every component there is a generalized archetype is there like ( > for creating Http consumer > component there is -DartifactId=servicemix-http-consumer- service-unit).But > for servicemix-wsn2005 > component there is nothing like that? > > 2) So, please explain how i can create this component. > > 3) what is the structure should be there for Publisher side (which > actually trying for posting messages to a topic at a repeated interval time > using quartz component). > > 4) what is the structure should be there for Subscriber side (which gets > notifies the messages from the topics and gets consumes the message). > > If it is possible please explain with sample snippet code. > > Thanks. > > > > > gnodet wrote: > > > > Servicemix WSN component supports SU deployment. > > See > > http://servicemix.apache.org/servicemix-wsn2005.html#servicemix-wsn2005-ConfigurationusingJBIpackaging > > > > On Wed, May 7, 2008 at 4:16 PM, sandeep reddy <[EMAIL PROTECTED]> > > wrote: > >> > >> Hi All, > >> > >> I am new to servicemix and trying out creating sample prototypes. > >> As > >> of that i am concentrating trying to achieve pub-sub model. > >> > >> I have gone through the listed examples (ws-notification) and also > >> servicemix-wsn2005 component and understood. But, this has been done > >> using > >> servicemix.xml files which is of static configuration file. > >> > >> But i would like to achieve same concept using of Service Unit's > >> (SU). > >> > >> What i need to do is: > >> > >> 1) Need to have a Publisher component which actually receives a > >> message > >> and creates at topic and > >> need to put into it. > >> 2) And other side i need to have a list of consumer components > >> (client's) which actually registers to this > >> topic and can get the message. > >> > >> Any help would be greatly appreciated. > >> > >> Thanks, > >> Sandeep. > >> -- > >> View this message in context: > >> http://www.nabble.com/Need-help-regarding-pub-sub-model-tp17106071p17106071.html > >> Sent from the ServiceMix - User mailing list archive at Nabble.com. > >> > >> > > > > > > > > -- > > Cheers, > > Guillaume Nodet > > ------------------------ > > Blog: http://gnodet.blogspot.com/ > > > > > > -- > View this message in context: > http://www.nabble.com/Need-help-regarding-pub-sub-model-tp17106071p17120974.html > > Sent from the ServiceMix - User mailing list archive at Nabble.com. > > -- Cheers, Guillaume Nodet ------------------------ Blog: http://gnodet.blogspot.com/
