amqp

What exactly do we need to do to work with Service Bus on-premises from a Java client on Linux via AMQP

自古美人都是妖i 提交于 2019-12-24 03:06:38
问题 We are able to connect to an on-premises service bus (Windows Server Service Bus 1.1) using the following connection string: amqps://owner@FQDNofServer:5671/ServiceBusDefaultNamespace Writing to a topic with anonymous access enabled results in "Peer did not create remote endpoint for link, target: " Reading from a subscription results in some amqp internal error message. The Java samples from MS do not shed any light. Can someone [ from MS ] urgently provide the info? Apparently this is all

NodeJS AMQP Client can't connect

主宰稳场 提交于 2019-12-24 02:15:38
问题 I am going crazy for last two days, i cannot make connection on NodeJS client with durable exchange and durable queue. So PHP code creates and send message: <?php $connection = new AMQPConnection(array( 'host' => 'localhost', 'vhost' => 'bvh', 'port' => 5672, 'login' => 'bizneus', 'password' => 'lozinkus' )); //$connection = new AMQPConnection(); $connection->connect(); if (!$connection->isConnected()) { die('Not connected :(' . PHP_EOL); } // Open Channel $channel = new AMQPChannel(

How to use Java RabbitMQ and set URI server?

↘锁芯ラ 提交于 2019-12-24 00:13:36
问题 I'm using the RabbitMQ Java API to connect to a RabbitMQ server. I want to use ConnectionFactory.setUri(...) to configure which server to use. It appears to munge the virtual host. There's a default virtual host named / . import com.rabbitmq.client.ConnectionFactory; import com.rabbitmq.client.Connection; import com.rabbitmq.client.Channel; import java.net.URI; public class Worker { public static void main(String[] argv) throws Exception { ConnectionFactory factory = new ConnectionFactory();

RabbitTemplate receive messages and requeue

非 Y 不嫁゛ 提交于 2019-12-23 15:40:12
问题 My question is very similar to this one: RabbitTemplate receive and requeue Unfortunately it has been marked as answered though the answer doesn't suit my needs. I want to mimic the functionality of the Rabbit Admin UI, i.e. I want to synchronously read messages from a queue, but don't want the queue to lose them, i.e. something like having a peek. The answer here RabbitTemplate receive and requeue suggests using a listener, but in that case it'll read and requeue indefinitely. I want to get

Has anyone succeeded in using celery with pylons

為{幸葍}努か 提交于 2019-12-23 13:25:52
问题 I have a pylons based webapp and i'd love to use celery + rabbitmq for some time taking tasks. I've taken a look at the celery-pylons project but I haven't succeeded in using it. My main problem with celery is: where do i put the celeryconfig.py file or is there any other way to specify the celery options eg. BROKER_HOST and the like, from within a pylons app (In the same way one can put the options in the django settings.py file when using django-celery). Basically, i investigated 2 options:

Where can i find the php-amqp documentation?

≡放荡痞女 提交于 2019-12-23 12:15:58
问题 We are planning to use RabbitMQ from PHP, and we decided to go with php-amqp, because it supports PHP 5.2. The only problem is i can't find a proper documentation for this PECL library 回答1: It is sad to say, but official php-amqp documentation (http://us1.php.net/manual/en/book.amqp.php) was removed as it was obsoleted. For now you can look through stub files and tests. I'm really sorry that we don't write proper documentation and examples yet. If you will have further questions about php

Synchronous AMQP from PHP

蓝咒 提交于 2019-12-23 11:57:45
问题 Can PHP treat AMQP like an RPC service, and send a message and block until a reply is returned? Are there any good examples of this, and do any libraries wrap such functionality up in an easy-to-use way? I'd like to have the flexibility of a brokered messaging system, but shield the web tier from needing to know about its asynchronous nature. 回答1: Sure, absolutely. Look at how an RPC-style request flows around a system: A request is issued The requester now blocks waiting for a reply to that

Which one should I choose AMQP or XMPP for real-time browser-based game?

自作多情 提交于 2019-12-23 09:27:12
问题 I'm choosing between AMQP (RabbitMQ) vs XMPP (eJabberd) for my browser-based flash-free javascript powered real-time turn-based game. I don't know much about AMQP and XMPP protocol. I would like to use PHP for user-authorization and some data store-retrieve with MySQL. As far as I found out, RabbitMQ has PHP clients but eJabberd not. What I understood is javascript client calls PHP script and manipulate necessary processing and then pass to AMQP or XMPP server to pass the data to opponent

ActiveMQ AMQP with JMS transformer leveraging spring Integration

怎甘沉沦 提交于 2019-12-23 05:37:07
问题 I am trying to get a barebones application same up and running leveraging ActiveMQ's AMQP with the JMS transformer. My Client library is Spring Integration, however, I cannot get a basic sample up and running in this configuration. details on ActiveMQ's JMS transformer over AMQP: http://activemq.apache.org/amqp.html main test app @IntegrationComponentScan @SpringBootApplication public class SpringCloudStreamJmsActivemqSenderExampleApplication implements CommandLineRunner { @Bean public

AMQP AmqpBinding IIS/WAS problems?

喜你入骨 提交于 2019-12-23 05:26:12
问题 The setup at the current employer has one set of back office functions on a Java platform and another group of functions on two separate .NET-based platforms. There is no overall architect. The Java guys decided to go for Apache QPID and AMQP for messaging, presumably amongst themselves, with the .NET systems and other external systems. .NET architecture involves WCF services hosted in IIS/WAS and Windows Server AppFabric. Does anyone have any experience of AmqpBinding and IIS/WAS, if there