Hi,

Is it possible to make the Endpoint Dynamic? I am trying to use the format
as a parameter to a endpoint template, but it seems to not be working.

Is it possible to make this property dynamic?

Follow the config I am trying to use:


<template xmlns="http://ws.apache.org/ns/synapse";
name="AGE_Endpoint_Template">
   <axis2ns84:parameter xmlns:axis2ns84="http://ws.apache.org/ns/synapse";
name="format"/>
   <axis2ns85:parameter xmlns:axis2ns85="http://ws.apache.org/ns/synapse";
name="timeout"/>
   <endpoint name="$name">
      <default format="$format">
         <suspendOnFailure>
            <errorCodes>-1</errorCodes>
            <progressionFactor>1.0</progressionFactor>
         </suspendOnFailure>
         <markForSuspension>
            <errorCodes>-1</errorCodes>
            <retriesBeforeSuspension>0</retriesBeforeSuspension>
            <retryDelay>0</retryDelay>
         </markForSuspension>
         <timeout>
            <responseAction>fault</responseAction>
         </timeout>
      </default>
   </endpoint>
</template>




Thanks,

-- 
Francisco Ribeiro
*SCEA|SCJP|SCWCD|IBM Certified SOA Associate*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to