activemq

Failed to connect to RMI registry

China☆狼群 提交于 2019-12-13 04:33:45
问题 I am running activemq-5.9 on Ubuntu 12.04 and it would be fair to say that I am new to active MQ. I suspect that I am queueing records and not de-queueing them, so I am looking into using JMX to connect to my active MQ broker and see what's going on. Jconsole fails. This is hard because most of the docs on how to do this is old, but I finally get down to running activemq list. When I do, it throws a rather lengthy stacktrace: Connecting to JMX URL: service:jmx:rmi:///jndi/rmi://localhost:1099

Multiple listeners that are durable. Do they work concurrently?

左心房为你撑大大i 提交于 2019-12-13 04:16:49
问题 My configuration: @Bean public ActiveMQConnectionFactory connectionFactory(){ ActiveMQConnectionFactory connectionFactory = new ActiveMQConnectionFactory(); connectionFactory.setBrokerURL(DEFAULT_BROKER_URL); return connectionFactory; } @Bean public DefaultMessageListenerContainer listenerContainers() { DefaultMessageListenerContainer container = new DefaultMessageListenerContainer(); container.setConnectionFactory(connectionFactory()); //container.setConnectionFactory(connectionFactory1());

Messaging platform

回眸只為那壹抹淺笑 提交于 2019-12-13 03:49:47
问题 We're considering a messaging platform to integrate two core systems in a banking environment. We're looking at open source options. Which products have you used and can you share experiences? 回答1: If you're on Microsoft, I would start your search with MSMQ. I've used MSMQ at work quite a bit and never really had any serious problems with it. WCF has great support for MSMQ if you're using .NET. I've also used Apache ActiveMQ for Java JMS, and had mixed results. It has some really nice tools

trouble setting up LDAP integration with ActiveMQ (on centos7) admin page

怎甘沉沦 提交于 2019-12-13 03:40:59
问题 I have read every page I can find on this, and I just am not getting something. I am but a simple farmer (sysadmin), and I am running out hair to pull out. What I did: On a Centos7 box, I installed apache-activemq-5.15.8 by downloading the latest tarball, and expanding it. I set up a service file and a few other niceties, and the service will run, and I could log into the admin page with the default creds. Being a masochist, I deiced to make it 'easy' for the users of this app by configuring

Activemq concurrency fail in Apache camel route

醉酒当歌 提交于 2019-12-13 03:34:21
问题 Trying to send multiple requests at same instant to camel activemq route, one request is serviced and the other request is not serviced and sent back as it is. The Jms messages are set with JMScorrelationId too before sending like below textMessage.setJMSCorrelationID(UUID.randomUUID().toString()); below is my activemq route from("activemq:queue:TEST_QUEUE?disableReplyTo=true") .setExchangePattern(ExchangePattern.InOut) .process(new Processor() { public void process(Exchange e) throws

Producer posts to topic and consumer subscribes to virtual topic

风格不统一 提交于 2019-12-13 03:27:40
问题 We have a weird issue. There are two equivalent topics: topicA and topicB . The topics are created dynamically. Consumers subscribe to VirtualTopic.topicA and VirtualTopic.topicB correspondingly. Consumers get the messages. We see equal number of arrived and dequeued messages in each virtual topic. However, topicA says it has active subscribers, whereas topicB does not. All messages in topicA are dequeued. topicB shows the same number of messages as VirtualTopic.topicB contains, but none of

How to send plain text JmsMessage with empty header

江枫思渺然 提交于 2019-12-13 02:56:14
问题 I want to send a message to an activeMQ and receive it via MQTT.js in the frontend. jmsTemplate.convertAndSend("topic", "Hello World!"); I am getting the message, but with a header, that I can not decode. S�A S�)�x-opt-jms-destQ�x-opt-jms-msg-typeQ Ss� f �/ID:myID@�topic://myTopic@@@@� j��< St�e Sw� Hello World! Now I am trying to remove the header from my message. This thread mentions the targetClient property, but this doesn't seam to work with a topic: Spring JMS Template - remove RFH

Apache Camel AMQP - ActiveMQ AMQP header mismatch value 1, expecting 0

核能气质少年 提交于 2019-12-13 02:24:05
问题 I am attempting to make an Apache Camel application that integrates with ActiveMQ over AMQP. I have been working from the provided ' camel-example-spring-jms ' project, which is over the standard TCP connection, but I have modified to use my standalone ActiveMQ 5.8 installation (rather than embedded), which I have working fine using TCP. Active MQ Configuration ( amqp on 5672 ) <transportConnectors> <transportConnector name="openwire" uri="tcp://0.0.0.0:61610?maximumConnections=1000

Durable Subscription ActiveMQ

三世轮回 提交于 2019-12-13 02:06:28
问题 I am trying to put in place durable subscriber for my messages so that they will get persist in topic even after server restart. But during configuration I am getting error related to xml: Here is my configuration xml: <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" xmlns:int="http://www.springframework.org/schema/integration"

JBoss ActiveMQ on Red Hat - Unable to access AMQ Web Console

前提是你 提交于 2019-12-13 01:31:55
问题 I have a working ActiveMQ setup on Ubuntu Server. Now I am trying to set up a JBoss-AMQ on Red Hat 6. I am able to run the service, Please wait, JBoss A-MQ is initializing... 100% [========================================================================] _ ____ __ __ ____ | | _ \ /\ | \/ |/ __ \ | | |_) | ___ ___ ___ / \ ______| \ / | | | | _ | | _ < / _ \/ __/ __| / /\ \______| |\/| | | | | | |__| | |_) | (_) \__ \__ \ / ____ \ | | | | |__| | \____/|____/ \___/|___/___/ /_/ \_\ |_| |_|\___\_