You need to just include:
   <beans>
     <xmpp:endpoint ... />
  </beans>

The <xmpp:component> is used when not using a Service Unit.

On 10/5/07, depstei2 <[EMAIL PROTECTED]> wrote:
>
> Thanks for the links!  I am trying to get this running in a service assembly,
> but I keep getting the error that "No endpoints were found" for my xmpp
> service unit. This is the xbean I am using (copied from the integration
> test):
> <?xml version="1.0" encoding="UTF-8"?>
> <beans xmlns:xmpp="http://servicemix.apache.org/xmpp/1.0";
>         xmlns:test="http://student.kuali.org/xmpptest";>
>         <xmpp:component user="[EMAIL PROTECTED]"
>                 password="password">
>                 <xmpp:endpoints>
>                         <xmpp:privateChatEndpoint service="test:service"
>                                 endpoint="endpoint"
>                                 uri="xmpp://host/[EMAIL PROTECTED]" />
>                 </xmpp:endpoints>
>         </xmpp:component>
> </beans>
>
>
>
> gnodet wrote:
> >
> > The unit tests comes with the source tree:
> >
> > http://svn.apache.org/repos/asf/incubator/servicemix/trunk/deployables/bindingcomponents/servicemix-xmpp/src/test/
> >
> > Take a look at
> >    http://incubator.apache.org/servicemix/source.html
> > and
> >    http://incubator.apache.org/servicemix/building.html
> >
> > On 10/5/07, depstei2 <[EMAIL PROTECTED]> wrote:
> >>
> >> I am trying to create a very simple example where a call to a web service
> >> will then cause an IM to be sent out.
> >> I am having trouble finding any examples of how to set up an xmpp
> >> endpoint.
> >> The documentation says:
> >>
> >> XMPP Integration Testing
> >> To run the integration tests of ServiceMix XMPP you will need to do the
> >> following
> >>     * install Wildfire
> >>     * create the following users (user/pwd)
> >>           o servicemix-user / servicemix-pwd
> >>           o test-user / test-pwd
> >> You should now be able to run the unit tests
> >>
> >> But where are the unit tests?
> >> Could someone please post an example of using the xmpp component in
> >> servicemix to create a service unit?
> >> --
> >> View this message in context:
> >> http://www.nabble.com/XMPP-Servicemix-Example-tf4576074s12049.html#a13062035
> >> Sent from the ServiceMix - User mailing list archive at Nabble.com.
> >>
> >>
> >
> >
> > --
> > Cheers,
> > Guillaume Nodet
> > ------------------------
> > Blog: http://gnodet.blogspot.com/
> >
> >
>
> --
> View this message in context: 
> http://www.nabble.com/XMPP-Servicemix-Example-tf4576074s12049.html#a13064537
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>


-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/

Reply via email to