[ https://issues.apache.org/activemq/browse/SM-582?page=all ]

Grant McDonald resolved SM-582.
-------------------------------

    Fix Version/s: incubation
       Resolution: Fixed

Issue committed.

> Current ErrorHandler implementation used by ValidateComponent is not thread 
> safe
> --------------------------------------------------------------------------------
>
>                 Key: SM-582
>                 URL: https://issues.apache.org/activemq/browse/SM-582
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-components
>    Affects Versions: incubation
>         Environment: Ubuntu Linux 6.06 LTS, WinXP SP2
>            Reporter: Grant McDonald
>         Assigned To: Grant McDonald
>             Fix For: incubation
>
>         Attachments: SM-582.patch
>
>   Original Estimate: 30 minutes
>  Remaining Estimate: 30 minutes
>
> Due to the error handler being dependency injected it is a singleton which 
> unfortunately stores state across invocations.  The solution is to use the 
> factory pattern, whereby an ErrorHandlerFactory implementation is created as 
> the singleton which has properties containing the arguments to pass to the 
> ErrorHandler when it is instantiated.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to