# springboot-activeMQ **Repository Path**: vankid/springboot-activeMQ ## Basic Information - **Project Name**: springboot-activeMQ - **Description**: MQ和springboot的简单整合 - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 2 - **Forks**: 0 - **Created**: 2017-09-18 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # springboot-activeMQ MQ和springboot的简单整合 注意: 网上有很多类似的博客,都是抄抄抄,大体没什么问题。 要注意的地方: 1.application.properties复制的时候注意配置值后面空格去掉 2.如果想要使用安装的ActiveMQ-server请注意本demo中pom的配置,并没有使用XXXX-starter(如果引入该依赖就会使用内置的ActiveMQ,无法使用消息监控) 3.关于配置项 ACTIVEMQ (ActiveMQProperties) spring.activemq.broker-url= # URL of the ActiveMQ broker. Auto-generated by default. For instance tcp://localhost:61616 spring.activemq.in-memory=true # Specify if the default broker URL should be in memory. Ignored if an explicit broker has been specified. spring.activemq.password= # Login password of the broker. spring.activemq.user= # Login user of the broker. spring.activemq.packages.trust-all=false # Trust all packages. spring.activemq.packages.trusted= # Comma-separated list of specific packages to trust (when not trusting all packages). spring.activemq.pool.configuration.*= # See PooledConnectionFactory. spring.activemq.pool.enabled=false # Whether a PooledConnectionFactory should be created instead of a regular ConnectionFactory. spring.activemq.pool.expiry-timeout=0 # Connection expiration timeout in milliseconds. spring.activemq.pool.idle-timeout=30000 # Connection idle timeout in milliseconds. spring.activemq.pool.max-connections=1 # Maximum number of pooled connections.