qpid

Writing an brokerless AMQP to MQTT adaptor

我的梦境 提交于 2021-02-11 18:22:53
问题 I want to implement an amqp to mqtt adapter, which would receive amqp messages, take their payload and publish it as mqtt messages to my mqtt broker. Therefore the adapter must be able to listen on a port confirm connect requests receive amqp messages acknowledge them publish with mqtt In my ecosystem I want to provide different protocols for incoming messages, but I want to run only one mqtt broker. I want to avoid any other broker. I read here that amqp "1.0 permits brokerless point-to

Link error with qpid-proton-0.17.0

回眸只為那壹抹淺笑 提交于 2021-02-08 06:45:27
问题 When I build my qpid-proton-0.17.0 program I get this link error: undefined reference to proton::event_loop::inject(std::function<void ()>) Here is how I build: g++ -std=c++14 myprog.cpp -o myprog -lqpid-proton-cpp -lboost_system -lcrypto -lssl Am I missing a library? Also, without -std=c++14 or -std=c++11 the link issue goes away. But I will need -std=c++11 at least. 回答1: I rebuilt qpid-proton-0.17.0 libraries with -DCMAKE_CXX_FLAGS=-std=c++11 and that fixed my issue. 来源: https:/

How to create connection to AMQP queue over SSL using SOCKS proxy or any other proxy in java

a 夏天 提交于 2021-01-29 08:49:24
问题 Using using SOCKS proxy or any other Proxy, is there any way to connect to amqp queue over SSL using org.apache.qpid.jms.JmsConnectionFactory for environments where direct internet access is not available or amqps connection port is blocked by firewall. I have tried connecting to amqp queue over SSL using org.apache.qpid.jms.JmsConnectionFactory on environments where internet is available.It is working fine!!! 回答1: Using the latest release of the Qpid JMS client (0.47.0 as of this answer) you

Tracing memory leak in Spring Azure qPID JMS code

烂漫一生 提交于 2020-04-30 05:10:28
问题 Im trying to trace and identify root cause for memory leak in our very small and simple Spring Boot application. It uses following: - Spring Boot 2.2.4 - azure-servicebus-jms-spring-boot-starter 2.2.1 - MSSQL Function: The app only dispatches Azure ServiceBus queue and stores data and sends data to other destination. It is a small app so it starts easily with 64 megs of memory, despite I give it up to 256 megs via Xmx option. Important note is the queue is being dispatched using Spring

Tracing memory leak in Spring Azure qPID JMS code

老子叫甜甜 提交于 2020-04-30 05:10:19
问题 Im trying to trace and identify root cause for memory leak in our very small and simple Spring Boot application. It uses following: - Spring Boot 2.2.4 - azure-servicebus-jms-spring-boot-starter 2.2.1 - MSSQL Function: The app only dispatches Azure ServiceBus queue and stores data and sends data to other destination. It is a small app so it starts easily with 64 megs of memory, despite I give it up to 256 megs via Xmx option. Important note is the queue is being dispatched using Spring

Why does basicReject does not work with Apache Qpid?

a 夏天 提交于 2020-01-15 09:27:13
问题 I'm using qpid-broker for integration testing my spring-boot-start-amqp application which uses basicGet (autoAck=false), basicAck and basicReject for handling the messages. basicReject (with requeue=false) works fine with my external rabbitmq instance but doesn't work with the qpid-broker . I have tested my code with an external RabbitMQ instance where everything works fine but with the embedded Apache Qpid server the test fails because basicReject is not working properly. Getting the message

Why does basicReject does not work with Apache Qpid?

会有一股神秘感。 提交于 2020-01-15 09:26:27
问题 I'm using qpid-broker for integration testing my spring-boot-start-amqp application which uses basicGet (autoAck=false), basicAck and basicReject for handling the messages. basicReject (with requeue=false) works fine with my external rabbitmq instance but doesn't work with the qpid-broker . I have tested my code with an external RabbitMQ instance where everything works fine but with the embedded Apache Qpid server the test fails because basicReject is not working properly. Getting the message

LNK1104: cannot open file 'boost_thread-vc100-mt-gd-1_55.lib'

痞子三分冷 提交于 2020-01-15 02:40:08
问题 I'm facing difficulty to build qpid cpp solution on windows xp I have installed Boost 1.55.0, Python 2.7, Ruby 2.0.0 and CMake 2.8 Then I have added Environment variable paths for Python, Ruby and CMake, and then Boost variables are set as followed BOOST_ROOT C:\Boost BOOST_LIBRARYDIR C:\Boost\lib BOOST_INCLUDEDIR C:\Boost\include I build Boost with following commands from command prompt bootstrap .\b2 I have downloaded qpid-cpp-0.26, Then I build qpid with following command from command

Trying to communicate with azure service bus from android device using proton-j

邮差的信 提交于 2019-12-23 23:37:37
问题 I am trying to make an android app to talk to azure service bus using proton-j library When I try to add proton-j-0.11.1 jar file as library on my android project. Try to send to azure service bus but end up with an exception Broken EPIPe broken: 01-15 19:37:02.165: E/proton.messenger(822): Error processing connection 01-15 19:37:02.165: E/proton.messenger(822): java.net.SocketException: sendto failed: EPIPE (Broken pipe) 01-15 19:37:02.165: E/proton.messenger(822): at libcore.io.IoBridge

How do I set up a security provider in Qpid to allow anonymous and also name/password authentication?

ⅰ亾dé卋堺 提交于 2019-12-13 19:41:53
问题 This is my first day with Apache Proton and Qpid (java-broker version 0.32) and I need a simple send and receive example in Java (no JMS). By poking around I found Send.java and Recv.java neither of which actually work. On "mng.send() I get java.io.IOException: An established connection was aborted by the software in your host machine From stackoverflow and a half dozen other google searches it seems that one must create an "anonymous" security provider first. How does one do this? I can't