[ 
https://issues.apache.org/jira/browse/ARTEMIS-1142?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15998884#comment-15998884
 ] 

clebert suconic commented on ARTEMIS-1142:
------------------------------------------

Makes sense.

although the transformer is instantiated at ActiveMQServerImpl, right?


Take a look at the newly added Plugin.. maybe that would also help you?

> Possibility to give instance of a Transform in DivertConfiguration in 
> addition of transformerClassName
> ------------------------------------------------------------------------------------------------------
>
>                 Key: ARTEMIS-1142
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1142
>             Project: ActiveMQ Artemis
>          Issue Type: New Feature
>          Components: Broker
>    Affects Versions: 2.0.0
>            Reporter: Alexandre Navarro
>
> Possibility to give instance of a Transform in DivertConfiguration in 
> addition of transformerClassName.
> I will give you a exemple.
> I'm in a spring-boot application with an artemis embedded.
> My configuration is done programmatically.
> I want to use a spring bean in my transformer but as it is instanciated by 
> artemis engine, I can't easily retrieve a bean spring inside my transformer.
> If you are ok on the feature, I can check if I can do pullrequest.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to