Hi All,

Currently we are using mainly call mediator in connectors. However
currently endpoint settings are static and hardcoded with the connector.

Only way to change this is manually update the zip file. This is not the
best solution.

We need to find a way to set this values from esb connector configuration.
(In INIT method)

eg:
<salesforce.init>
    <username>[email protected]</username>
    <password>xxxxx</password>
    <loginUrl>https://login.salesforce.com/services/Soap/u/27.0</loginUrl>

<!-- Optional Params -->
*    <blocking>false</blocking>*
* <timeout>60000</timeout>*
.....
</salesforce.init>

Suggestions are welcome to find the best way to do this?

(https://store.wso2.com/store/assets/esbconnector)

<endpoint name="Sample_First" statistics="enable" >
    <address uri="http://localhost/myendpoint"; <http://localhost/myendpoint>
statistics="enable" trace="disable">
        <timeout>
            <duration>60000</duration>
        </timeout>

        <markForSuspension>
            <errorCodes>101504, 101505</errorCodes>
            <retriesBeforeSuspension>3</retriesBeforeSuspension>
            <retryDelay>1</retryDelay>
        </markForSuspension>

        <suspendOnFailure>
            <errorCodes>101500, 101501, 101506, 101507, 101508</errorCodes>
            <initialDuration>1000</initialDuration>
            <progressionFactor>2</progressionFactor>
            <maximumDuration>60000</maximumDuration>
        </suspendOnFailure>

    </address>
</endpoint>

[1]
https://docs.wso2.com/display/ESB490/Endpoint+Error+Handling#EndpointErrorHandling-
"Timeout"settingstimeoutSettings
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to