Spring cloud config ActiveMQ


Create a Config Server with following POM:


Add JMS binding for ActiveMQ

Please refer to this release

Update the POM


Update configuration

spring:
    cloud:
        config:
            server:
                git:
                    uri: git@gitserver.org:config-repo.git
                    skipSslValidation: true
                    searchPaths: '{application}'
                    ignoreLocalSshSettings: true
                    strictHostKeyChecking: false
                    host-key: AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBKGyq3I/rmrUrmB8yPFogHsrBK/2rN7+WrNJwbaYQgWiY/iK32RVnO7RwslBOEPoODOF8b4CmNUP+z1L0Mo41ik=
                    hostKeyAlgorithm: ssh-rsa
                    clone-on-start: true
                    force-pull: true
                    basedir: ${user.home}/data/config-repo
                    privateKey: |
                        -----BEGIN RSA PRIVATE KEY-----
                        Rg3zqTBX6uSyR7JVwqZI04TOK3wWpRdCt67kjuWGnTclSS0ayg==
                        -----END RSA PRIVATE KEY-----
        bus:
            enabled: true
            trace:
                enabled: false
        stream:
            bindings:
                springCloudBusInput:
                    binder: activemq
                springCloudBusOutput:
                    binder: activemq
    activemq:
        broker-url: tcp://activemq-dev:61616
        in-memory: false
        user: admin
        password: admin

https://stackoverflow.com/questions/35601267/how-to-set-up-spring-cloud-bus-using-activemq

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.