Hi Chris

I must warn you though, some of the changes are still in progress in the SVN trunk and also some samples are not yet updated with the latest language syntax - so please bear it in mind if you are not using the 0.91 release :-)

asankha

chris sleeman wrote:
Hi Asankha,

Thanks for the prompt response.
I will check the latest SVN trunk and try this out.

Regards,
Chris.

On 3/7/07, Asankha C. Perera <[EMAIL PROTECTED]> wrote:

Hi Chris

Yes, you are able to extract transport headers from within Synapse for
incoming and outgoing messages as well as set them for a message before
you send it out through Synapse. This code however is not available in
the 0.91 release, but in the latest SVN trunk. We are in the process of
finalizing some changes for the configuration language, and a new
build/release candidate should be available shortly - in the next week
or two.

If the content length header is available you will be able to read the
size of a message, but you may not be able to read the size for chunked
or identity messages. This is because Synapse may start processing the
message before its completely read from the wire.

asankha

chris sleeman wrote:
> Hi,
>
> I am new to synapse/axis2 and would be glad if someone could give me any
> pointers to this problem.
>
> Basically I am trying to create a custom mediator which would drop
> messages,
> if certain conditions are met - for e.g. if the incoming SOAP message
> exceeds a certain size or if it say belongs to some prohibited IP
> address.
> Just wanted to know whether there is any way to extract these properties
> from the Synapse message context.
>
> Thanks in advance,
> Regards,
> Chris
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to