[ 
https://issues.apache.org/jira/browse/CASSANDRASC-34?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Francisco Guerrero reassigned CASSANDRASC-34:
---------------------------------------------

    Assignee: Francisco Guerrero

> Allow injecting a LoggerHandler to vertxRouter
> ----------------------------------------------
>
>                 Key: CASSANDRASC-34
>                 URL: https://issues.apache.org/jira/browse/CASSANDRASC-34
>             Project: Sidecar for Apache Cassandra
>          Issue Type: Improvement
>            Reporter: Francisco Guerrero
>            Assignee: Francisco Guerrero
>            Priority: Normal
>
> Currently, {{vertxRouter}} _creates_ an instance of {{LoggerHandler}} to the 
> top level route. This is prescriptive and it doesn't allow for a different 
> implementation of the LoggerHandler to be injected.
> In this commit, `LoggerHandler` is created in the `MainModule` as a singleton 
> and then injected in the `vertxRouter` method. This allows for a different 
> implementation of the `LoggerHandler` to be provided.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to