Hi,

On Tue, Feb 28, 2012 at 8:14 AM, Yogesh Sagar <[email protected]> wrote:

> Thanks for the help and valuable input. Now my next question is:
>
> Is there a support for remote JMX in Apache Synapse? Can I remotely
> management and monitor synapse using JMX?
>

I just tried it with Synapse 2.1.0. During startup, it displays the
following message.

INFO Axis2SynapseController Management using JMX available via:
service:jmx:rmi:///jndi/rmi://x.x.x.x:1099/synapse

You should be able to remotely monitor the Synapse instance using this URL
with the appropriate IP address.

Thanks,
Sadeep

Thanks,
> Yogesh
>
> On Sun, Feb 26, 2012 at 10:48 PM, Ruwan Linton <[email protected]
> >wrote:
>
> > >
> > > Synapse MessageContext (which is different from Axis2 MessageContext)
> is
> > > built for every request received by Synapse and remains until the
> > response
> > > for that message is sent back to the client.
> >
> >
> > True.
> >
> >
> > > This means that, when a single
> > > request to Synapse is considered, same message context is used for it's
> > in
> > > sequence and out sequence.
> > >
> >
> > Sadeep, it is not. Even though the life-cycle of the message context
> > created at the message reception lasts until the response to that message
> > is sent back to the caller, it doesn't mean that the same message context
> > is used for in and out mediation. The synapse message context used for
> the
> > out-sequence is *different* from the one used for the in-sequence but
> they
> > relates (like in the axis2 in and out message contexts). However we copy
> > certain things from the synapse in message context to the out message
> > context, like properties, and few context attributes.
> >
> > In effect, if you set a property on the in-sequence at synapse scope
> (which
> > is default) you will be able to retrieve the same on the out-sequence.
> > IIRC, even axis2 scope would be the same as we copy axis2 message context
> > properties, except for few (system used) properties and options.
> >
> > Thanks,
> > Ruwan
> >
> > --
> > Ruwan Linton
> > Member, Apache Software Foundation; http://www.apache.org
> > Director of Engineering; http://adroitlogic.org
> >
> > phone: +94 11 282 7532
> > email: [email protected]; cell: +94 77 341 3097
> > blog: http://blog.ruwan.org
> > linkedin: http://www.linkedin.com/in/ruwanlinton
> > google: http://www.google.com/profiles/ruwan.linton
> > tweet: http://twitter.com/ruwanlinton
> >
>



-- 

Sadeep Jayasumana

**

Email: [email protected]****

Mobile: +61 4 1468 8521

Reply via email to