Questions tagged [qpid-proton]

21 questions
3
votes
0 answers

Qpid Proton Python detecting an empty queue in on_message

I am using Qpid Proton using Python to consume messages from a queue in AMQ. I am learning this as I go - I am far from an expert at it so I am reaching out for some help. I have a situation where the AMQ queue holds messages that represent work…
dbcmPlus
  • 31
  • 2
2
votes
1 answer

What difference between proton-j and proton-j2?

Recently I'm learning AMQP protocol, I found Proton-J and Proton-J2. From their README in the github repo, it seems like they are both a Java implementation of AMQP. I took a quick look of the code, and still have no idea about the difference…
J.Gea
  • 25
  • 5
2
votes
0 answers

Qpid Proton Python: Send multiple messages before closing

I used RabbitMQ before and learned that establishing a connection is expensive and that we should try to keep one connection alive to send messages. In Python, this is very straightforward because you can create a connection as an object that you…
1
vote
1 answer

pip install python-qpid-proton: how to fix errors on windows?

While running pip install python-qpid-proton I got the following errors: error: Microsoft Visual C++ 14.0 or greater is required. I fixed this by installing Visual Studio Build Tools 2022 and Visual Studio Professional 2022 fatal error C1083:…
MMV
  • 81
  • 1
  • 8
1
vote
1 answer

Python Qpid Proton dependency build error on Windows

I have a project requiring me to build Python backend locally so I can work on frontend (Angular). Python project has a dependency, python-qpid-proton v0.33.0, which fails to build. I'm using the command: pip install -e . to install the…
ShockKhay
  • 75
  • 9
1
vote
0 answers

Is the qpid proton API supposed to work with the qpid C++ broker?

I'm looking into the C++ AMQP implementations in Apache Qpid. I've installed the C++ broker and I'm able to simply launch it by: qpidd -p 8080 The obvious library choice to create client code is the proton API which has some examples. When running…
Lorah Attkins
  • 5,331
  • 3
  • 29
  • 63
1
vote
0 answers

Qpid Proton Python Reconnect Attempt Every Minute

I'm new to Qpid Proton Python and AMQP. There is one thing that I'm a bit stuck on which I hope I can get some support from the community. One of my application requirements is to re-attempt connection every minute if the connection from my…
changiti
  • 11
  • 1
1
vote
1 answer

Using SASL EXTERNAL in Go using qpid-proton client library to connect to AMQP 1.0 RabbitMQ

I am trying to make a TLS connection to RabbitMQ with authentication provided by self-signed certificates through the SASL EXTERNAL mechanism using the golang implementation provided by https://github.com/apache/qpid-proton. The goal is to be able…
Kau
  • 11
  • 4
1
vote
1 answer

How to explicitly acknowledge or deacknowledge messages with Qpid Proton Python

I have a Qpid Proton Python MessageHandler receiving some messages which trigger some processing. How can I reject a message in case the processing fails? As far as I can tell from the API documentation, the default is auto_accept=True. However,…
languitar
  • 6,554
  • 2
  • 37
  • 62
0
votes
0 answers

Facing SSL issue with Qpid Python Proton library when using Amazon Linux 2 / Lambda using Python 3.10

We are building an AWS ActiveMQ project using Lambda (runs on Amazon Linux 2), which uses Qpid proton library from Apache. The issue ultimately seems to be that the Qpid library is unable to locate SSL on the system. The same code works fine in…
0
votes
0 answers

Qpid-Proton C++ connect or sender_open

Some of the Qpid-Proton C++ examples calls connect from on_container_start and then open_sender/receiver from on_connection_open (helloworld) and others calls open_sender directly from on_container_start (simple_send). When would you use either…
Waslap
  • 572
  • 3
  • 23
0
votes
1 answer

Performance problem sending big messages to qpid C++ broker using AMQP 1.0

I'm creating a proof of concept implementation in which I need to send files (sometimes large ones, up to 400Mb) embedded in messages using AMQP 1.0. I decided to use Apache's qpid proton client lib and qpid C++ broker. The test setup has 3 parts: A…
Gabriel T
  • 23
  • 5
0
votes
1 answer

qpid proton ssl_client_options with ssl_certificate and default trust db

I am trying to make a secure connection with qpid proton for C++. The server requires a client certificate authentication which I can do with ssl_certificate and ssl_client_options classes. The problem I have is that I don't know how to have client…
nobody
  • 64
  • 5
  • 15
0
votes
0 answers

How can I link with the QPid Proton library's static libs?

I'm trying to link against the QPid Proton library, using static libs, and am getting lots of link errors. I am able to build with the shared libraries, but for this project we need to use static libs. Here's the CMake…
piccy
  • 336
  • 2
  • 12
0
votes
0 answers

qpid-cpp-server 1.39.0 will not start on Centos with error qpidd: symbol lookup error: /lib64/libqpidcommon.so.2:

On Centos7, the qpid-cpp-server has been installed epel package has been installed yum install qpid-cpp-server qpid-tools The server will not start with error : qpidd[22202]: /usr/sbin/qpidd: symbol lookup error: /lib64/libqpidcommon.so.2:…
R Lawless
  • 21
  • 1
1
2