synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ruwan Linton (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (SYNAPSE-147) The get-property function looks up registry if the property is not found
Date Tue, 16 Oct 2007 04:27:50 GMT

     [ https://issues.apache.org/jira/browse/SYNAPSE-147?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ruwan Linton resolved SYNAPSE-147.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.1.QA.B.2
         Assignee: Ruwan Linton

Fixed in the current svn head

Check for the verification

> The get-property function looks up registry if the property is not found
> ------------------------------------------------------------------------
>
>                 Key: SYNAPSE-147
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-147
>             Project: Synapse
>          Issue Type: Bug
>          Components: Extension Mediators
>    Affects Versions: 1.1.QA.B.1
>         Environment: Ubuntu 7.04, JDK1.5.0_12
>            Reporter: Evanthika Amarasiri
>            Assignee: Ruwan Linton
>             Fix For: 1.1.QA.B.2
>
>
> 1. When executing the following configuration ( with "default" tag commented out ) ,
got a message saying "Will not  evaluate the value of the remote entry, because the registry
is not available"
> Configuration
> ===========
> <definitions xmlns="http://ws.apache.org/ns/synapse">
>    <switch source="//m0:getQuote/m0:request/m0:symbol" xmlns:m0="http://services.samples/xsd">
>        <case regex="IBM">
>            <property name="symbol" value="Great stock - IBM"/>
>        </case>
>        <case regex="MSFT">
>            <property name="symbol" value="Are you sure? - MSFT"/>
>        </case>
>        <case regex="SUN">
>            <property name="symbol" value="Is this a good stock brand? - SUN"/>
>        </case>
>        <!--default>
>            <property name="symbol"
>                  expression="fn:concat('Normal Stock - ', //m0:getQuote/m0:request/m0:symbol)"
>                  xmlns:m0="http://services.samples/xsd"/>
>        </default-->
>    </switch>
>    <log level="custom">
>        <property name="symbol" expression="get-property('symbol')"/>
>        <property name="epr" expression="get-property('To')"/>
>    </log>
>    <send/>
> </definitions>
> Following is the log at the time the client was invoked
> [HttpServerWorker-2] DEBUG LogMediator Start : Log mediator
> [HttpServerWorker-2] DEBUG SynapseConfiguration Will not  evaluate the value of the remote
entry,  because the registry is not available
> [HttpServerWorker-2] INFO LogMediator symbol = null, epr = http://10.100.1.228:9001/soap/SimpleStockQuoteService
> [HttpServerWorker-2] DEBUG LogMediator End : Log mediator

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: synapse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-dev-help@ws.apache.org


Mime
View raw message