You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by josn <jo...@gmail.com> on 2011/06/20 14:55:11 UTC
custom binding component
Hi,
I wrote a custom binding component, and wrote a su of this binding
component. when I deploy su into servicemix, it said "Unrecognized xbean
namespace mapping" . but I had configured the namespace of the binding
component in the xbean.xml. and I could not find what is wrong. Any helps?
Regards,
-
josn
Re: custom binding component
Posted by josn <jo...@gmail.com>.
Now I knew what is the problem, I forgot add the dependency of the bc in
pom.xml of the su.
Thanks.
Regards,
On Mon, Jun 20, 2011 at 10:10 PM, Ioannis Canellos <io...@gmail.com>wrote:
> Could you share the pom.xml of your binding component and the xbean.xml of
> your service unit?
>
> --
> *Ioannis Canellos*
> *
> http://iocanel.blogspot.com
>
> Apache Karaf <http://karaf.apache.org/> Committer & PMC
> Apache ServiceMix <http://servicemix.apache.org/> Committer
> *
>
--
JoSn
Re: custom binding component
Posted by Ioannis Canellos <io...@gmail.com>.
Could you share the pom.xml of your binding component and the xbean.xml of
your service unit?
--
*Ioannis Canellos*
*
http://iocanel.blogspot.com
Apache Karaf <http://karaf.apache.org/> Committer & PMC
Apache ServiceMix <http://servicemix.apache.org/> Committer
*
Re: custom binding component
Posted by josn <jo...@gmail.com>.
Thanks loannis, I am using ServiceMix 3.3.2.
On Mon, Jun 20, 2011 at 9:54 PM, Ioannis Canellos <io...@gmail.com> wrote:
> I assume that you are using ServiceMix 4+
>
> A component is required to expose an
> org.apache.aries.blueprint.NamespaceHandler as an OSGi service. Please have
> a look at the existing components under
> src/main/resources/OSGI-INF/blueprint/ for an example.
>
> --
> *Ioannis Canellos*
> *
> http://iocanel.blogspot.com
>
> Apache Karaf <http://karaf.apache.org/> Committer & PMC
> Apache ServiceMix <http://servicemix.apache.org/> Committer
> *
>
Re: custom binding component
Posted by Ioannis Canellos <io...@gmail.com>.
I assume that you are using ServiceMix 4+
A component is required to expose an
org.apache.aries.blueprint.NamespaceHandler as an OSGi service. Please have
a look at the existing components under
src/main/resources/OSGI-INF/blueprint/ for an example.
--
*Ioannis Canellos*
*
http://iocanel.blogspot.com
Apache Karaf <http://karaf.apache.org/> Committer & PMC
Apache ServiceMix <http://servicemix.apache.org/> Committer
*