[
https://issues.apache.org/jira/browse/SYNAPSE-437?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andreas Veithen reassigned SYNAPSE-437:
---------------------------------------
Assignee: Andreas Veithen
> Initialize Inline Fault Sequences for Proxy Targets
> ---------------------------------------------------
>
> Key: SYNAPSE-437
> URL: https://issues.apache.org/jira/browse/SYNAPSE-437
> Project: Synapse
> Issue Type: Bug
> Components: Core, Proxy Services
> Reporter: Lucas Moten
> Assignee: Andreas Veithen
> Priority: Minor
> Attachments: SynapseConfiguration_Init_TargetInlineFaultSequence.txt
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> When synapse is initialized, target inline in and out sequences are
> initialized for proxies. Inline fault sequences that contain mediators
> requiring initialization will fail with a null pointer exception because they
> are not initialized.
> The inline fault sequences appear to be initialized only from the
> ProxyService start method. This is turn does not appear to be called by
> synapse core, but is utilized by a separate, but related project, WSO2 ESB
> admin interface in the ProxyServiceAdmin class (startProxyService and
> saveProxyService). When synapse core is started, all proxies are running by
> default, initialized via SynapseConfiguration. Those proxies that are
> explicitly configured with startOnLoad attribute set to false are then
> stopped.
> Workaround: Use named sequences for proxies which are initialized when
> synapse is started. Named sequences are initialized independently of proxy
> targets from the SynapseConfiguration init method. Most samples available
> with synapse make use of named sequences.
> Recommended fix: Initialize target inline fault sequences for proxies in
> SynapseConfiguration class
--
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]