You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Charles Souillard <Ch...@ext.bull.net> on 2006/02/22 14:10:52 UTC

General SM questions

Hi all,

I have some questions about how ServiceMix operates to route messages.
I am a bit lost in the jbi specs about that point.
Is there a way to configure ServiceMix to let it know where it should 
deliver messages ?
What does ServiceMix if many services are available through different SE 
(or in the same one) with the same service name ?
What can I do to update dynamically the destination service ? 
(echoServiceBP2 instead of echoServiceBP)
What about updating the endpoint ?

I think there is no registry in ServiceMix doing a job like UDDI ?
How an external partner could discover a service available in ServiceMix ?

Cheers
Charles

Re: ServiceMix source installation

Posted by Joseph Dennis Gapuz <jg...@exist.com>.
Hi!

Run "maven" from your Servicemix directory (in your case D:\servicemix\servicemix-2.0.2).
If you don't want to run the test cases execute "maven -Dmaven.test.skip=true"

When you run maven command then it failed what is the message?

Regards,
Joseph


Yuanhui Zhao wrote:

>Hi there,
>
>I am trying to install servicemix source 2.0.2 (windows xp). I unzipped the
>files to D:\servicemix\servicemix-2.0.2, then I tried to install by >maven
>command, it failed.
>
>Then I tried from D:\servicemix\servicemix-2.0.2\assembly, after I ran
>maven, it installed successfully. But when I try >servicemix from
>D:\servicemix\servicemix-2.0.2\assembly\target\servicemix-2.0.2\bin\servicem
>ix-2.0.2\bin,
>
>I got :
>
>Usage: java [-options] class [args...]
>           (to execute a class)
>   or  java [-options] -jar jarfile [args...]
>           (to execute a jar file)
>
>where options include:
>    -client	  to select the "client" VM
>    -server	  to select the "server" VM
>.......
>
>Can anyone tell me how to install the source?
>
>Thanks a lot.
>YZ
>
>  
>


ServiceMix source installation

Posted by Yuanhui Zhao <yz...@qoslabs.com>.
Hi there,

I am trying to install servicemix source 2.0.2 (windows xp). I unzipped the
files to D:\servicemix\servicemix-2.0.2, then I tried to install by >maven
command, it failed.

Then I tried from D:\servicemix\servicemix-2.0.2\assembly, after I ran
maven, it installed successfully. But when I try >servicemix from
D:\servicemix\servicemix-2.0.2\assembly\target\servicemix-2.0.2\bin\servicem
ix-2.0.2\bin,

I got :

Usage: java [-options] class [args...]
           (to execute a class)
   or  java [-options] -jar jarfile [args...]
           (to execute a jar file)

where options include:
    -client	  to select the "client" VM
    -server	  to select the "server" VM
.......

Can anyone tell me how to install the source?

Thanks a lot.
YZ


Re: General SM questions

Posted by Guillaume Nodet <gu...@worldonline.fr>.
All the routing is performed using the jbi endpoints.
A jbi endpoint has:
  * an endpoint name (string)
  * a service name (qname)
  * optional interface names (qname)
When an exchange is sent, servicemix will find the target endpoint, 
following the
jbi spec.  You can specify the endpoint, the service or the interface.
If there are multiple matches, an endpoint will be chosen with a 
pluggable policy.
There is not relationship at all with the component where the target 
endpoint is activated.

This routing can also be changed somewhat by connections defined on 
service assemblies, but
this is not well supported at the moment.

Cheers,
Guillaume Nodet


Charles Souillard wrote:

> Hi all,
>
> I have some questions about how ServiceMix operates to route messages.
> I am a bit lost in the jbi specs about that point.
> Is there a way to configure ServiceMix to let it know where it should 
> deliver messages ?
> What does ServiceMix if many services are available through different 
> SE (or in the same one) with the same service name ?
> What can I do to update dynamically the destination service ? 
> (echoServiceBP2 instead of echoServiceBP)
> What about updating the endpoint ?
>
> I think there is no registry in ServiceMix doing a job like UDDI ?
> How an external partner could discover a service available in 
> ServiceMix ?
>
> Cheers
> Charles
>
>