You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by rs...@imolinfo.it on 2006/09/22 14:59:13 UTC

servicemix-common API change request

Hi,
I have a binding component that may create multiple endpoint starting from a
single service unit. I use the AbstractXBeanDeployer to ease the reading of the
service unit configuration.
The number of endpoint is determined in the getServices method which can be
overridden. The problem is that my getServices method is quite complicated and
the code inside it may rise differnt type of exception wich I can't handel and
which should make the deployment fail. To resolve the problem it would be
enough to change the method signatire from
protected List getServices(Kernel kernel)
to
protected List getServices(Kernel kernel) throws DeploymentException
let me know if it's possible.

thanks
Raffaele


Re: servicemix-common API change request

Posted by Guillaume Nodet <gn...@gmail.com>.
Sure, please raise a JIRA, i will do it asap.

On 9/22/06, rspazzoli@imolinfo.it <rs...@imolinfo.it> wrote:
> Hi,
> I have a binding component that may create multiple endpoint starting from a
> single service unit. I use the AbstractXBeanDeployer to ease the reading of the
> service unit configuration.
> The number of endpoint is determined in the getServices method which can be
> overridden. The problem is that my getServices method is quite complicated and
> the code inside it may rise differnt type of exception wich I can't handel and
> which should make the deployment fail. To resolve the problem it would be
> enough to change the method signatire from
> protected List getServices(Kernel kernel)
> to
> protected List getServices(Kernel kernel) throws DeploymentException
> let me know if it's possible.
>
> thanks
> Raffaele
>
>


-- 
Cheers,
Guillaume Nodet