messagebroker

Difference between queue manager and message broker

时间秒杀一切 提交于 2019-12-31 10:23:07
问题 What is the difference between a Websphere Message Broker and a Queue Manager. I guess the queue manager puts messages in the queue, takes messages out of the queue, moves messages to backout queues etc. So what is the job of the broker? Does it sit between the publisher and the Queue Manager or between the consumer and the Queue Manager? 回答1: Websphere MQ is a software which uses the AMQ(Asynchronous messaging protocol) . You can achieve asynchronous messaging between your applications via

Using a message broker with end user clients directly

夙愿已清 提交于 2019-12-24 23:06:15
问题 I want to find a way to implement push messages from a server to multiple end user clients with the same message. One of the options I found was to use a message broker and use it to implement the pub/sub pattern. What I'm not sure about is what supposed to be considered a consumer in such a scenario. What I thought that the general architecture is when using a message broker is: End user clients <----> Message broker <---> Server (The clients and server can also speak to one another on

WSO2 MB start-up Error

放肆的年华 提交于 2019-12-23 02:37:04
问题 I have download WSO2 MB 2.1.0 and run it with the built-in Cassandra server in Windows 7 64bit. But the start-up procedure failed with the following error message. [2013-12-14 11:27:03,371] ERROR {org.apache.cassandra.service.AbstractCassandraD aemon} - Exception in thread Thread[Thread-21,5,main] java.lang.OutOfMemoryError: unable to create new native thread at java.lang.Thread.start0(Native Method) at java.lang.Thread.start(Thread.java:713) at java.util.concurrent.ThreadPoolExecutor

Does Spring @SubscribeMapping really subscribe the client to some topic?

一世执手 提交于 2019-12-20 08:29:15
问题 I am using Spring Websocket with STOMP, Simple Message Broker. In my @Controller I use method-level @SubscribeMapping , which should subscribe the client to a topic so that the client would receive the messages of that topic afterwards. Let say, the client subscribes to the topic "chat" : stompClient.subscribe('/app/chat', ...); As the client subscribed to "/app/chat ", instead of "/topic/chat" , this subscription would go to the method which is mapped using @SubscribeMapping :

WARNING as java.io.EOFException when ActiveMQ starts

独自空忆成欢 提交于 2019-12-18 07:38:09
问题 am trying to start the ActiveMQ 5.11 and I see a WARNING as below: WARN | Transport Connection to: tcp://127.0.0.1:40890 failed: java.io.EOFException My activemq.xml is as below: <transportConnectors> <transportConnector name="openwire" uri="tcp://0.0.0.0:${JMS_PORT}" /> <transportConnector name="stomp" uri="stomp://0.0.0.0:${JMS_STOMP_PORT}"/> <transportConnector name="ssl" uri="ssl://0.0.0.0:${JMS_SSL_PORT}"/> </transportConnectors> <sslContext> <sslContext keyStore="file:${JMS_KEY_STORE}"

Unable to connect to queue manager in WebSphere MQ 7.1

て烟熏妆下的殇ゞ 提交于 2019-12-18 04:26:20
问题 I've installed WebSphere MQ 7.1 on Linux platform, after which I installed WebSphere Message Broker 8.0.0.1. Now when I try to create an execution group, I get an exception: Reason code 2035. This exception states that the user is unauthorised to connect to the queue manager. I have this user added in the mqm group. I did not face any such issue when I was working with MQ 7.0.x. I searched a lot and came to know that there is user ID blocking in MQ 7.1. But, I want this user to be able to

How to resolve WebSphere MQ Reason code 2195 related error?

不羁岁月 提交于 2019-12-18 03:37:13
问题 I am getting an WebSphere MQ Reason code 2195 MQRC_UNEXPECTED_ERROR when I try to connect to the message flows deployed on the execution group. Can somebody please tell me what exactly does this reason code mean? Queue manager, broker , execution group.. everything is up and running and the ports are also open. I am not getting anything worthwhile on the net. Please advise. 回答1: The 2195 return code is a high-level exception that is hit when errors are not caught at lower levels in the code.

Error while creating jms proxy in wso2esb

删除回忆录丶 提交于 2019-12-13 21:29:35
问题 I'm trying to create a jms service using wso2esb4.7.0 and wso2mb2.2.0.For that purpose I have made some changes in wso2esb configuration that I have already explained in another question here : Error while creating JMS configuration in wso2esb. After that created a proxy service in wso2esb having configuration as below : <proxy xmlns="http://ws.apache.org/ns/synapse" name="SampleJMS" transports="jms"> <target> <inSequence> <property action="set" name="OUT_ONLY" value="true"/> <log level="full

How to configure embedded ActiveMQ Broker URL with Spring Boot

无人久伴 提交于 2019-12-12 08:33:12
问题 I followed a simple example of setting up and running embedded ActiveMQ with Spring Boot (version 1.4.X). Here's link to the example https://spring.io/guides/gs/messaging-jms/ My class is structured as below: @SpringBootApplication @EnableJms public class Application { @Autowired ConfigurableApplicationContext context; @Bean JmsListenerContainerFactory<?> myJmsContainerFactory(ConnectionFactory connectionFactory) { SimpleJmsListenerContainerFactory factory = new

REST APIs and messaging

冷暖自知 提交于 2019-12-12 08:22:16
问题 I have a system that exposes a REST API with a rich set of CRUD endpoints to manage different resources. The REST API is used also by a front-end application that executes calls by using Ajax. I would like to make some of these calls asynchronous and add reliability. The obvious choice seems a message broker (ActiveMQ, RabbitMQ, etc...). Never used message brokers before and I am wondering if they can be "put in front of" the REST API without having to rewrite them. I do not want to access