package org.soujava.exchange.ecb;

import org.tomitribe.sabot.Config;

import javax.enterprise.context.ApplicationScoped;
import javax.inject.Inject;

@ApplicationScoped
class SQLQuery {

    @Inject
    @Config(value = "query-rate")
    private String queryRate;


    @Inject
    @Config(value = "query-historic")
    private String queryHistoric;

    public String getQueryRate() {
        return queryRate;
    }

    public String getQueryHistoric() {
        return queryHistoric;
    }
}

package org.soujava.exchange.ecb;

import org.tomitribe.sabot.Config;

import javax.inject.Inject;

class SQLQuery {

    @Inject
    @Config(value = "query-rate")
    private String queryRate;


    @Inject
    @Config(value = "query-historic")
    private String queryHistoric;

    public String getQueryRate() {
        return queryRate;
    }

    public String getQueryHistoric() {
        return queryHistoric;
    }
}

--- 
+++ 
@@ -2,8 +2,10 @@
 
 import org.tomitribe.sabot.Config;
 
+import javax.enterprise.context.ApplicationScoped;
 import javax.inject.Inject;
 
+@ApplicationScoped
 class SQLQuery {
 
     @Inject
Define scope to ECBQuery configuration
