You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@synapse.apache.org by Lorenzo <ce...@gmail.com> on 2007/03/07 14:04:40 UTC
First steps with synapse module
Hi all,
i deployed the synapse.mar and configured axis2, adding RMPhase and
MUPhase like in
synapse-0.91/samples/axis2Server/repository/conf/axis2.xml
then added
<parameter name="SynapseConfiguration" locked="true">
/home/Lorenzo/jboss-4.0.5.GA/server/default/deploy/axis2.war/WEB-INF/conf/synapse.xml
</parameter>
and edited synapse.xml like follow
<synapse xmlns="http://ws.apache.org/ns/synapse">
<rules>
<log level="full"/>
<send>
<endpoint address="http://localhost:8000/"/>
</send>
</rules>
</synapse>
Then i start tcpmonitor listening on port 8000.
Now, how do i send msgs to localhost:8080, make my work on it (either by
synapse script and by java) and then route it to my choosed EPR
(localhost:8000 for example)? Which service i should call from client
side and how should it be?
I tryed to engage synapse module to a simple echo(string) service, but
nothing happens (worked same as before synapse engage)(where are stored
synapse logs? i didn't find'em)
Thx very much 4 any help!
---------------------------------------------------------------------
To unsubscribe, e-mail: synapse-user-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-user-help@ws.apache.org
Re: First steps with synapse module
Posted by Cencio1980 <ce...@gmail.com>.
Hi Ashankha,
thx for explain...
i lost myself trying to work on the deployed one...
2007/3/7, Asankha C. Perera <as...@wso2.com>:
>
> Hi Lorenzo
>
> Although Synapse installs into Axis2 as a module, the current release is
> intended to be deployed standalone - and will start up the required
> underlying axis2 instance. Synapse thus acts as an ESB / message
> mediation framework on its own. If you use the 0.91 release, and extract
> it, you will find a synapse.sh/bat that will start it up. You could
> configure the instance by editing the repository/conf/synapse.xml
> looking at the samples and the configuration syntax. We also provide
> samples that ship out of the box, where the required client and server
> as well as services are provided - you could refer to "A quick start
> with Synapse samples" from the web site at http://ws.apache.org/synapse/
>
> The default configuration starts up Synapse on http port 8080 and the
> sample client is configured to send messages over this port. A sample
> Axis2 server hosts the sample services on http port 9000 - and the above
> guide should help you follow through these examples
>
> asankha
>
> Lorenzo wrote:
> > Hi all,
> >
> > i deployed the synapse.mar and configured axis2, adding RMPhase and
> > MUPhase like in
> > synapse-0.91/samples/axis2Server/repository/conf/axis2.xml
> > then added
> >
> > <parameter name="SynapseConfiguration" locked="true">
> > /home/Lorenzo/jboss-
> 4.0.5.GA/server/default/deploy/axis2.war/WEB-INF/conf/synapse.xml
> > </parameter>
> >
> > and edited synapse.xml like follow
> >
> > <synapse xmlns="http://ws.apache.org/ns/synapse">
> > <rules>
> > <log level="full"/>
> > <send>
> > <endpoint address="http://localhost:8000/"/>
> > </send>
> > </rules>
> > </synapse>
> >
> > Then i start tcpmonitor listening on port 8000.
> >
> > Now, how do i send msgs to localhost:8080, make my work on it (either by
> > synapse script and by java) and then route it to my choosed EPR
> > (localhost:8000 for example)? Which service i should call from client
> > side and how should it be?
> >
> > I tryed to engage synapse module to a simple echo(string) service, but
> > nothing happens (worked same as before synapse engage)(where are stored
> > synapse logs? i didn't find'em)
> >
> > Thx very much 4 any help!
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: synapse-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: synapse-user-help@ws.apache.org
> >
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: synapse-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: synapse-user-help@ws.apache.org
>
>
Re: First steps with synapse module
Posted by "Asankha C. Perera" <as...@wso2.com>.
Hi Lorenzo
Although Synapse installs into Axis2 as a module, the current release is
intended to be deployed standalone - and will start up the required
underlying axis2 instance. Synapse thus acts as an ESB / message
mediation framework on its own. If you use the 0.91 release, and extract
it, you will find a synapse.sh/bat that will start it up. You could
configure the instance by editing the repository/conf/synapse.xml
looking at the samples and the configuration syntax. We also provide
samples that ship out of the box, where the required client and server
as well as services are provided - you could refer to "A quick start
with Synapse samples" from the web site at http://ws.apache.org/synapse/
The default configuration starts up Synapse on http port 8080 and the
sample client is configured to send messages over this port. A sample
Axis2 server hosts the sample services on http port 9000 - and the above
guide should help you follow through these examples
asankha
Lorenzo wrote:
> Hi all,
>
> i deployed the synapse.mar and configured axis2, adding RMPhase and
> MUPhase like in
> synapse-0.91/samples/axis2Server/repository/conf/axis2.xml
> then added
>
> <parameter name="SynapseConfiguration" locked="true">
> /home/Lorenzo/jboss-4.0.5.GA/server/default/deploy/axis2.war/WEB-INF/conf/synapse.xml
> </parameter>
>
> and edited synapse.xml like follow
>
> <synapse xmlns="http://ws.apache.org/ns/synapse">
> <rules>
> <log level="full"/>
> <send>
> <endpoint address="http://localhost:8000/"/>
> </send>
> </rules>
> </synapse>
>
> Then i start tcpmonitor listening on port 8000.
>
> Now, how do i send msgs to localhost:8080, make my work on it (either by
> synapse script and by java) and then route it to my choosed EPR
> (localhost:8000 for example)? Which service i should call from client
> side and how should it be?
>
> I tryed to engage synapse module to a simple echo(string) service, but
> nothing happens (worked same as before synapse engage)(where are stored
> synapse logs? i didn't find'em)
>
> Thx very much 4 any help!
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: synapse-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: synapse-user-help@ws.apache.org
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: synapse-user-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-user-help@ws.apache.org