You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/10/04 09:08:00 UTC

[jira] [Commented] (ARTEMIS-1446) Support passing in properties to Transformers for configuration

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

ASF GitHub Bot commented on ARTEMIS-1446:
-----------------------------------------

GitHub user michaelandrepearce opened a pull request:

    https://github.com/apache/activemq-artemis/pull/1569

    ARTEMIS-1446 - Support Transformer configuration by properties

    Update Tranformer to be able to handle initiation via propertiers (map<string, string>)
    Update Configuration to have more specific transfromer configuration type, and to take properties.
    Support back compatibility.
    Add AddHeadersTransformer which is a main use case, and can act as example also.
    Update Control's to expose new property configuration
    Add test cases
    Update examples for new transformer config style

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/michaelandrepearce/activemq-artemis ARTEMIS-1446

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/activemq-artemis/pull/1569.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1569
    
----
commit 2a3cedd18d9b2637101a8464d586ee70f3f82380
Author: Michael Andre Pearce <mi...@me.com>
Date:   2017-09-27T19:01:29Z

    ARTEMIS-1446 - Support Transformer configuration by properties
    
    Update Tranformer to be able to handle initiation via propertiers (map<string, string>)
    Update Configuration to have more specific transfromer configuration type, and to take properties.
    Support back compatibility.
    Add AddHeadersTransformer which is a main use case, and can act as example also.
    Update Control's to expose new property configuration
    Add test cases
    Update examples for new transformer config style

----


> Support passing in properties to Transformers for configuration
> ---------------------------------------------------------------
>
>                 Key: ARTEMIS-1446
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1446
>             Project: ActiveMQ Artemis
>          Issue Type: Improvement
>            Reporter: Michael Andre Pearce
>            Assignee: Michael Andre Pearce
>
> Currently Bridge and Divert Transformers do not allow any configuration, as such if you need the same transformer but just slightly different configuration that could be managed by classical properties you need to make concrete classes for each one.
> This is to allow passing in configuration properties into the transformers so transformer implementations can be made more generic and re-usable and simply configurable.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)