You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by roshansn <sn...@gmail.com> on 2010/01/21 16:55:22 UTC

How to create dynamic edpoints

Hi,
I need to create dynamic jsr endpoints on my service unit. Can anyone give
an idea how to do it?
Thanks
-- 
View this message in context: http://old.nabble.com/How-to-create-dynamic-edpoints-tp27259975p27259975.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: How to create dynamic edpoints

Posted by roshansn <sn...@gmail.com>.

Let's say i have a payment solution and i need to expose this through ESB.
payment module can be used to create different applications. When that
application accesss payment solution i need to create a fresh instance of
the payment solution. 

Dynamic means when new application is created a new endpoint should be
created for payment solution instance.



Jean-Baptiste Onofré wrote:
> 
> What do you mean by dynamic endpoints ?
> 
> roshansn wrote:
>> HI
>> 
>> My problem is howto create dynamic end point at xbean.xml file. 
>> 
>> 
>> 
>> Jean-Baptiste Onofré wrote:
>>> Hi,
>>>
>>> the sample uses an EJB but you can use a simple POJO.
>>>
>>> You can use CXF-SE or servicemix-bean to achieve that. Remember that the 
>>> xbean.xml is a pure Spring bean descriptor.
>>>
>>> Regards
>>> JB
>>>
>>> roshansn wrote:
>>>> Hi
>>>>
>>>> Thanks for the quick reply. I can't use EJB for this requirement. I
>>>> have
>>>> several applications and destination service. When one application call
>>>> for
>>>> a destination service i need to create a new context for this
>>>> application.
>>>> (creating destination instance for each application) I am ok with any
>>>> servicemix component.
>>>> Thanks
>>>>
>>>>
>>>>
>>>> Jean-Baptiste Onofré wrote:
>>>>> Hi,
>>>>>
>>>>> JSR is quite deprecated now. I recommand to use CXF-SE to expose a
>>>>> service.
>>>>>
>>>>> You can find a tutorial how to expose an EJB using CXF-SE here:
>>>>> http://servicemix.apache.org/6-intermediate-using-ejb-inside-servicemix.html
>>>>>
>>>>> Regards
>>>>> JB
>>>>>
>>>>> roshansn wrote:
>>>>>> Hi,
>>>>>> I need to create dynamic jsr endpoints on my service unit. Can anyone
>>>>>> give
>>>>>> an idea how to do it?
>>>>>> Thanks
>>> -- 
>>> Jean-Baptiste Onofré (Nanthrax)
>>> BuildProcess/AutoDeploy Project Leader
>>> http://buildprocess.sourceforge.net
>>> jb@nanthrax.net
>>> PGP : 17D4F086
>>>
>>>
>> 
> 
> -- 
> Jean-Baptiste Onofré (Nanthrax)
> BuildProcess/AutoDeploy Project Leader
> http://buildprocess.sourceforge.net
> jb@nanthrax.net
> PGP : 17D4F086
> 
> 

-- 
View this message in context: http://old.nabble.com/How-to-create-dynamic-edpoints-tp27259975p27265383.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: How to create dynamic edpoints

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
What do you mean by dynamic endpoints ?

roshansn wrote:
> HI
> 
> My problem is howto create dynamic end point at xbean.xml file. 
> 
> 
> 
> Jean-Baptiste Onofré wrote:
>> Hi,
>>
>> the sample uses an EJB but you can use a simple POJO.
>>
>> You can use CXF-SE or servicemix-bean to achieve that. Remember that the 
>> xbean.xml is a pure Spring bean descriptor.
>>
>> Regards
>> JB
>>
>> roshansn wrote:
>>> Hi
>>>
>>> Thanks for the quick reply. I can't use EJB for this requirement. I have
>>> several applications and destination service. When one application call
>>> for
>>> a destination service i need to create a new context for this
>>> application.
>>> (creating destination instance for each application) I am ok with any
>>> servicemix component.
>>> Thanks
>>>
>>>
>>>
>>> Jean-Baptiste Onofré wrote:
>>>> Hi,
>>>>
>>>> JSR is quite deprecated now. I recommand to use CXF-SE to expose a
>>>> service.
>>>>
>>>> You can find a tutorial how to expose an EJB using CXF-SE here:
>>>> http://servicemix.apache.org/6-intermediate-using-ejb-inside-servicemix.html
>>>>
>>>> Regards
>>>> JB
>>>>
>>>> roshansn wrote:
>>>>> Hi,
>>>>> I need to create dynamic jsr endpoints on my service unit. Can anyone
>>>>> give
>>>>> an idea how to do it?
>>>>> Thanks
>> -- 
>> Jean-Baptiste Onofré (Nanthrax)
>> BuildProcess/AutoDeploy Project Leader
>> http://buildprocess.sourceforge.net
>> jb@nanthrax.net
>> PGP : 17D4F086
>>
>>
> 

-- 
Jean-Baptiste Onofré (Nanthrax)
BuildProcess/AutoDeploy Project Leader
http://buildprocess.sourceforge.net
jb@nanthrax.net
PGP : 17D4F086

Re: How to create dynamic edpoints

Posted by roshansn <sn...@gmail.com>.
HI

My problem is howto create dynamic end point at xbean.xml file. 



Jean-Baptiste Onofré wrote:
> 
> Hi,
> 
> the sample uses an EJB but you can use a simple POJO.
> 
> You can use CXF-SE or servicemix-bean to achieve that. Remember that the 
> xbean.xml is a pure Spring bean descriptor.
> 
> Regards
> JB
> 
> roshansn wrote:
>> Hi
>> 
>> Thanks for the quick reply. I can't use EJB for this requirement. I have
>> several applications and destination service. When one application call
>> for
>> a destination service i need to create a new context for this
>> application.
>> (creating destination instance for each application) I am ok with any
>> servicemix component.
>> Thanks
>> 
>> 
>> 
>> Jean-Baptiste Onofré wrote:
>>> Hi,
>>>
>>> JSR is quite deprecated now. I recommand to use CXF-SE to expose a
>>> service.
>>>
>>> You can find a tutorial how to expose an EJB using CXF-SE here:
>>> http://servicemix.apache.org/6-intermediate-using-ejb-inside-servicemix.html
>>>
>>> Regards
>>> JB
>>>
>>> roshansn wrote:
>>>> Hi,
>>>> I need to create dynamic jsr endpoints on my service unit. Can anyone
>>>> give
>>>> an idea how to do it?
>>>> Thanks
>>>
>> 
> 
> -- 
> Jean-Baptiste Onofré (Nanthrax)
> BuildProcess/AutoDeploy Project Leader
> http://buildprocess.sourceforge.net
> jb@nanthrax.net
> PGP : 17D4F086
> 
> 

-- 
View this message in context: http://old.nabble.com/How-to-create-dynamic-edpoints-tp27259975p27262523.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: How to create dynamic edpoints

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi,

the sample uses an EJB but you can use a simple POJO.

You can use CXF-SE or servicemix-bean to achieve that. Remember that the 
xbean.xml is a pure Spring bean descriptor.

Regards
JB

roshansn wrote:
> Hi
> 
> Thanks for the quick reply. I can't use EJB for this requirement. I have
> several applications and destination service. When one application call for
> a destination service i need to create a new context for this application.
> (creating destination instance for each application) I am ok with any
> servicemix component.
> Thanks
> 
> 
> 
> Jean-Baptiste Onofré wrote:
>> Hi,
>>
>> JSR is quite deprecated now. I recommand to use CXF-SE to expose a
>> service.
>>
>> You can find a tutorial how to expose an EJB using CXF-SE here:
>> http://servicemix.apache.org/6-intermediate-using-ejb-inside-servicemix.html
>>
>> Regards
>> JB
>>
>> roshansn wrote:
>>> Hi,
>>> I need to create dynamic jsr endpoints on my service unit. Can anyone
>>> give
>>> an idea how to do it?
>>> Thanks
>>
> 

-- 
Jean-Baptiste Onofré (Nanthrax)
BuildProcess/AutoDeploy Project Leader
http://buildprocess.sourceforge.net
jb@nanthrax.net
PGP : 17D4F086

Re: How to create dynamic edpoints

Posted by roshansn <sn...@gmail.com>.
Hi

Thanks for the quick reply. I can't use EJB for this requirement. I have
several applications and destination service. When one application call for
a destination service i need to create a new context for this application.
(creating destination instance for each application) I am ok with any
servicemix component.
Thanks



Jean-Baptiste Onofré wrote:
> 
> Hi,
> 
> JSR is quite deprecated now. I recommand to use CXF-SE to expose a
> service.
> 
> You can find a tutorial how to expose an EJB using CXF-SE here:
> http://servicemix.apache.org/6-intermediate-using-ejb-inside-servicemix.html
> 
> Regards
> JB
> 
> roshansn wrote:
>> Hi,
>> I need to create dynamic jsr endpoints on my service unit. Can anyone
>> give
>> an idea how to do it?
>> Thanks
> 
> 

-- 
View this message in context: http://old.nabble.com/How-to-create-dynamic-edpoints-tp27259975p27260863.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: How to create dynamic edpoints

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi,

JSR is quite deprecated now. I recommand to use CXF-SE to expose a service.

You can find a tutorial how to expose an EJB using CXF-SE here:
http://servicemix.apache.org/6-intermediate-using-ejb-inside-servicemix.html

Regards
JB

roshansn wrote:
> Hi,
> I need to create dynamic jsr endpoints on my service unit. Can anyone give
> an idea how to do it?
> Thanks