Code Monkey home page Code Monkey logo

Comments (2)

timcharper avatar timcharper commented on August 22, 2024

I recommend specifying the config-file to use via the JVM property, "config.file", such as:

java -jar  -Dconfig.file=/path/to//application.conf ...

Also, your issue brings my focus to an important point, that perhaps connection parameters have no business being mixed in with op-rabbit parameters. I'm considering changing the configuration structure to this:

op-rabbit {
  topic-exchange-name = "name"
  connection {
    connection-timeout = 3000
    virtual-host = "/"
    hosts = ["rabbit.test.com"]
    username = "user"
    password = "pass"
    port = 5672
    timeout = 3s
  }
}

Allowing the topicExchangeName to be injected in by the application, and not via a parameter, adds complexity, as the default is being pulled in TopicMessage.apply.

from op-rabbit.

timcharper avatar timcharper commented on August 22, 2024

Completed in 32f552c

from op-rabbit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.