messagebroker

ActiveMQ without persistence

点点圈 提交于 2019-12-08 02:14:39
问题 I'd like to set up a publisher-subscriber based communication protocol between a server producing messages and many clients receiving them. After a bit of research, I decided to go with ActiveMQ. I looked at a few tutorials and the ActiveMQ site and set up the broker as follows: BrokerService broker = new BrokerService(); broker.setPersistent(false); broker.addConnector("tcp://localhost:61616"); broker.start(); I only need the message passing functionality, no database persistence or anything

What open source message queuing software provides durability with strict ordering?

ⅰ亾dé卋堺 提交于 2019-12-07 08:00:55
问题 What we need is RabbitMQ that actually works as a queue and doesn't do this. Messages should stay at the head of a queue untill client dequeues them explicitly. It seems like a very straightforward scenario, but for some reason I can't find any broker to support it.. A broker should run on Windows OS. 回答1: Apache Qpid is probably your best option. Of all of the message queues, this one has a number of interesting things going for it, including strict ordering. 回答2: If it is only one message

WSO2 MB start-up Error

妖精的绣舞 提交于 2019-12-06 20:51:36
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.addWorker(ThreadPoolExecutor.java:949) at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor

Is my RabbitMQ cluster Active Active or Active Passive?

谁说我不能喝 提交于 2019-12-06 16:34:35
I have created a cluster consists of three RabbitMQ nodes using join_cluster command. i.e. rabbitmqctl –n rabbit2@MYPC1 join_cluster rabbit2@MYPC1 (currently the cluster runs on a single computer) Questions: In the documents it says there is one implemetation for active passive and one for active active. What did I configure? How do I know? How can it be changed? Is there a big performance trade off between Active Active & Active Passive? What is the best practice to interact with active/active? i.e. install a load balancer? apache that will round robin What is the best practice to interact

ActiveMQ without persistence

青春壹個敷衍的年華 提交于 2019-12-06 09:08:43
I'd like to set up a publisher-subscriber based communication protocol between a server producing messages and many clients receiving them. After a bit of research, I decided to go with ActiveMQ. I looked at a few tutorials and the ActiveMQ site and set up the broker as follows: BrokerService broker = new BrokerService(); broker.setPersistent(false); broker.addConnector("tcp://localhost:61616"); broker.start(); I only need the message passing functionality, no database persistence or anything alike. However, when I start the application, a activemq-data folder is created regardless of the the

ActiveMQ to Apollo transition, Openwire to Stomp protocol configuration

二次信任 提交于 2019-12-06 05:58:49
I'm trying to switch from ActiveMQ 5.6 to Apollo 1.5. I have two soft that are exchanging messages, using publish/subscribe on topics. The first one is c++ and use openwire with tcp The second one is Javascript and use stomp with websockets With ActiveMQ everything worked fine, and the messages I sent could be read and write on both softs, and I didn't changed the clients since. Now, I send messages from the c++ soft (using openwire), and try to read them with the JS soft, and I get errors. In fact I receive message with header content-type: "protocol/openwire", but I expect stomp. this is how

What open source message queuing software provides durability with strict ordering?

纵然是瞬间 提交于 2019-12-05 13:49:53
What we need is RabbitMQ that actually works as a queue and doesn't do this . Messages should stay at the head of a queue untill client dequeues them explicitly. It seems like a very straightforward scenario, but for some reason I can't find any broker to support it.. A broker should run on Windows OS. Apache Qpid is probably your best option. Of all of the message queues, this one has a number of interesting things going for it, including strict ordering . If it is only one message that is the problem, why not write it to a file (and flush the file) before you process the message. After

Can producer find the additions and removals of brokers in Kafka 0.8?

怎甘沉沦 提交于 2019-12-04 21:34:38
We knowthat, in kafka 0.7, we can specify zk.connect for producer, so producer can find the additions and removals of broker. But in kafka 0.8, we can't specify zk.connect for producer. Can producer in kafka 0.8 find that? If not, the scalability of the system is not worse than the 0.7 version? You can still use a ZooKeeper client to retrieve the broker list: ZkClient zkClient = new ZkClient("localhost:2108", 4000, 6000, new BytesPushThroughSerializer()); List<String> brokerList = zkClient.getChildren("/brokers/ips"); According to that, you do not have to "hardcode" the broker list on client

ActiveMq does not stop if broker is not available

你说的曾经没有我的故事 提交于 2019-12-04 05:03:03
问题 Getting the below error while stopping the Apache ActiveMQ 5.15.6. Setting the createConnector="false" becuase do not want default JMX connection. Note:- Start the ActiveMQ(activemq-admin.bat start) Stop the ActiveMQ(activemq-admin.bat stop) <managementContext createConnector="false"/> Error: Connecting to JMX URL: service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi INFO: Broker not available at: service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi 来源: https://stackoverflow.com/questions

Publish/Subscribe samples with RabbitMQ in .NET [closed]

帅比萌擦擦* 提交于 2019-12-04 04:00:35
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 7 years ago . I've built this sample: Getting Started With RabbitMQ in .net , but made 2 programs: one-publisher one-subscriber I'm using BasicPublish to publish and BasicAck to listen as in example. If I run one publisher and several subscribers-on