You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by jmuller <je...@gmail.com> on 2007/04/03 16:05:56 UTC

Re: Using Tutorial HelloWorld SE - some questions...



Adrian Co wrote:
> 
> vsp wrote:
> 
>> a) How to choose which endpoint will be used at service engine?
>>   
> Selection is based on the interface name, service name, and endpoint 
> name of each endpoint you deployed into your service engine. (i.e. the 
> service units deployed)
> 
> 
I tried helloworld-se tutorial too: i used archetype to create a SU but
don't know how to write an xbean.xml that tells SE service/endpoint name ?
i.e. name of the quartz su target ? created SU only contains a pom...
-- 
View this message in context: http://www.nabble.com/Using-Tutorial-HelloWorld-SE---some-questions...-tf3466577s12049.html#a9812061
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Using Tutorial HelloWorld SE - some questions...

Posted by jmuller <je...@gmail.com>.

jmuller wrote:
> 
> 
> jmuller wrote:
>> 
>> 
>> 
>> Adrian Co wrote:
>>> 
>>> vsp wrote:
>>> 
>>>> a) How to choose which endpoint will be used at service engine?
>>>>   
>>> Selection is based on the interface name, service name, and endpoint 
>>> name of each endpoint you deployed into your service engine. (i.e. the 
>>> service units deployed)
>>> 
>>> 
>> I tried helloworld-se tutorial too: i used archetype to create a SU but
>> don't know how to write an xbean.xml that tells SE service/endpoint name
>> ? i.e. name of the quartz su target ? created SU only contains a pom...
>> 
> 
> I just found this tutorial in another post:
> 
> 
> 
>> You might want to look at
>> http://devzone.logicblaze.com/site/how-tos.data/ServiceEngine.swf 
>> 
> So my new question is : How to set params / xml syntax to my SE ? i.e. How
> to write my xbean like that:
> <beans xmlns:se="http://me...se/1.0"
>        xmlns:test="test">
>   <se:endpoint service="test:mail-list" endpoint="endpoint">
>     <mylist>
>       <item>value1</item>
>       <item>value2</item>
>     </mylist>
>     <anotherparam>value3</anotherparam>
>   </se:endpoint>
> </beans>
> ... and use retrieve it in my component ?
> 

OK ! I found it : it's done by Xbean pseudo annotation in MyEndpoint.java
...

-- 
View this message in context: http://www.nabble.com/Using-Tutorial-HelloWorld-SE---some-questions...-tf3466577s12049.html#a10135302
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Using Tutorial HelloWorld SE - some questions...

Posted by jmuller <je...@gmail.com>.

jmuller wrote:
> 
> 
> 
> Adrian Co wrote:
>> 
>> vsp wrote:
>> 
>>> a) How to choose which endpoint will be used at service engine?
>>>   
>> Selection is based on the interface name, service name, and endpoint 
>> name of each endpoint you deployed into your service engine. (i.e. the 
>> service units deployed)
>> 
>> 
> I tried helloworld-se tutorial too: i used archetype to create a SU but
> don't know how to write an xbean.xml that tells SE service/endpoint name ?
> i.e. name of the quartz su target ? created SU only contains a pom...
> 

I just found this tutorial in another post:



> You might want to look at
> http://devzone.logicblaze.com/site/how-tos.data/ServiceEngine.swf 
> 
So my new question is : How to set params / xml syntax to my SE ? i.e. How
to write my xbean like that:
<beans xmlns:se="http://me...se/1.0"
       xmlns:test="test">
  <se:endpoint service="test:mail-list" endpoint="endpoint">
    <mylist>
      <item>value1</item>
      <item>value2</item>
    </mylist>
    <anotherparam>value3</anotherparam>
  </se:endpoint>
</beans>
... and use retrieve it in my component ?
-- 
View this message in context: http://www.nabble.com/Using-Tutorial-HelloWorld-SE---some-questions...-tf3466577s12049.html#a9832686
Sent from the ServiceMix - User mailing list archive at Nabble.com.