You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by poilala <na...@bull.net> on 2007/03/13 19:17:23 UTC
fichier JBI standard pour les SUS
Hi,
I'm looking for how to write jbi.xml files for a SU which will be used in a
standard JBI package and I can't find it, I looked the documentation or
examples but I only found files using <beans> tags like the
su_jbi_example.txt join here, for a polling service using the file binding
component. What I want to write is jbi.xml file using the standard jbi
syntax like shown in the su_jbi_standard.txt but I don't know how to
specified properties like the polling adress of the file binding for
example.
Could you please tell me how to do or where I could find those informations
for every components ?
Thanks in advance for your help.
--
View this message in context: http://www.nabble.com/fichier-JBI-standard-pour-les-SUS-tf3397661s12049.html#a9460325
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: [implentation on an internal system host] fichier JBI standard pour les SUS
Posted by Guillaume Nodet <gn...@gmail.com>.
The xbean.xml *is* the common packaging for
all standard JBI components provided by ServiceMix.
If you put this file inside a SU with a jbi descriptor,
this is JBI compliant and can be deployed on other
containers if needed.
On 3/14/07, poilala <na...@bull.net> wrote:
>
>
> My problem is that I'm writing JBI packages of my own and I've to use the
> standard jbi way of doing.
> So, I can't use the xbean syntax and that's why I'm looking for what to
> use
> in the consumes/provides section of a jbi file to specified some propertie
> value.
> For example, if I have this file :
> ----------------------------------------------------------------
> <?xml version="1.0"?>
> <beans xmlns:file="http://servicemix.apache.org/file/1.0"
> xmlns:test="http://servicemix.apache.org/samples/test">
>
> <file:poller service="test:poller"
> endpoint="poller"
> targetService="test:receiver"
> file="file:target/pollerFiles" />
>
> </beans>
> ----------------------------------------------------------------------
> and that I want to write a standard jbi descriptor with the following
> syntax
> :
> ----------------------------------------------------------------------
> <jbi version="1.0" xmlns='http://java.sun.com/xml/ns/jbi'
> xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
> xmlns:file="http://servicemix.apache.org/file/1.0"
> xmlns:test="http://servicemix.apache.org/samples/test">
> <services binding-component="true">
> <consumes interface-name="Poller"
> service-name="test:poller"
> endpoint-name="poller">
> <!------------------- Properties values
> ------------- -->
> </consumes>
> </services>
> </jbi>
> ------------------------------------------------------------------------
> I don't know how to add targetService and file polling adress ...
>
> Thanks for your help,
>
> Natacha
>
>
>
> gnodet wrote:
> >
> > The SU jbi descriptor is not used by ServiceMix, so you
> > won't find much information about it in the docs.
> > However it is generated by the jbi maven plugin automatically.
> > For file polling, look at
> > http://incubator.apache.org/servicemix/servicemix-file.html
> > --
> > Cheers,
> > Guillaume Nodet
> > ------------------------
> > Architect, LogicBlaze (http://www.logicblaze.com/)
> > Blog: http://gnodet.blogspot.com/
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/fichier-JBI-standard-pour-les-SUS-tf3397661s12049.html#a9474492
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>
--
Cheers,
Guillaume Nodet
------------------------
Architect, LogicBlaze (http://www.logicblaze.com/)
Blog: http://gnodet.blogspot.com/
Re: [implentation on an internal system host] fichier JBI standard
pour les SUS
Posted by poilala <na...@bull.net>.
My problem is that I'm writing JBI packages of my own and I've to use the
standard jbi way of doing.
So, I can't use the xbean syntax and that's why I'm looking for what to use
in the consumes/provides section of a jbi file to specified some propertie
value.
For example, if I have this file :
----------------------------------------------------------------
<?xml version="1.0"?>
<beans xmlns:file="http://servicemix.apache.org/file/1.0"
xmlns:test="http://servicemix.apache.org/samples/test">
<file:poller service="test:poller"
endpoint="poller"
targetService="test:receiver"
file="file:target/pollerFiles" />
</beans>
----------------------------------------------------------------------
and that I want to write a standard jbi descriptor with the following syntax
:
----------------------------------------------------------------------
<jbi version="1.0" xmlns='http://java.sun.com/xml/ns/jbi'
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
xmlns:file="http://servicemix.apache.org/file/1.0"
xmlns:test="http://servicemix.apache.org/samples/test">
<services binding-component="true">
<consumes interface-name="Poller"
service-name="test:poller"
endpoint-name="poller">
<!------------------- Properties values ------------- -->
</consumes>
</services>
</jbi>
------------------------------------------------------------------------
I don't know how to add targetService and file polling adress ...
Thanks for your help,
Natacha
gnodet wrote:
>
> The SU jbi descriptor is not used by ServiceMix, so you
> won't find much information about it in the docs.
> However it is generated by the jbi maven plugin automatically.
> For file polling, look at
> http://incubator.apache.org/servicemix/servicemix-file.html
> --
> Cheers,
> Guillaume Nodet
> ------------------------
> Architect, LogicBlaze (http://www.logicblaze.com/)
> Blog: http://gnodet.blogspot.com/
>
>
--
View this message in context: http://www.nabble.com/fichier-JBI-standard-pour-les-SUS-tf3397661s12049.html#a9474492
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: fichier JBI standard pour les SUS
Posted by Guillaume Nodet <gn...@gmail.com>.
The SU jbi descriptor is not used by ServiceMix, so you
won't find much information about it in the docs.
However it is generated by the jbi maven plugin automatically.
For file polling, look at
http://incubator.apache.org/servicemix/servicemix-file.html
On 3/13/07, poilala <na...@bull.net> wrote:
>
>
> Hi,
> I'm looking for how to write jbi.xml files for a SU which will be used in
> a
> standard JBI package and I can't find it, I looked the documentation or
> examples but I only found files using <beans> tags like the
> su_jbi_example.txt join here, for a polling service using the file binding
> component. What I want to write is jbi.xml file using the standard jbi
> syntax like shown in the su_jbi_standard.txt but I don't know how to
> specified properties like the polling adress of the file binding for
> example.
> Could you please tell me how to do or where I could find those
> informations
> for every components ?
>
> Thanks in advance for your help.
>
> --
> View this message in context:
> http://www.nabble.com/fichier-JBI-standard-pour-les-SUS-tf3397661s12049.html#a9460325
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>
--
Cheers,
Guillaume Nodet
------------------------
Architect, LogicBlaze (http://www.logicblaze.com/)
Blog: http://gnodet.blogspot.com/