Comments (2)
Hi @ndanzi,
Setting sender_settle_mode_settled means that the transfers are considered by the sender to be settled.
AMQP spec section 2.8.2 states:
2.8.2 Sender Settle Mode
Settlement policy for a sender.
Valid Values
0 The sender will send all deliveries initially unsettled to the receiver.
1 The sender will send all deliveries settled to the receiver.
2 The sender MAY send a mixture of settled and unsettled deliveries to the receiver.
This literally means that the receiver will not report the state of the delivery as it is considered settled.
If you do want to have the delivery state be considered unsettled until the receiver confirms it as such please use the unsettled mode in the enumeration.
I would like to look a big deeper though on what happens on the server side.
Can you please provide some more details on:
The sample code you run as server.
The client code you run.
If possible can you please turn on logging and post the logs here?
Also if you could give me the commit Id you used for uamqp that will help in reproducing and making sure the issues gets fixed.
To turn on logging:
connection_set_trace(connection, true);
in your samples?
Thanks,
/Dan
from azure-uamqp-c.
Thank you for the reply.
I mistakenly got it backwards: with unsettled mode now actually the client fails sending the message.
In this way I am able to catch the delivery state of the message.
For uamqp I used the Release 2016-11-17 with some paches (in order to make it work on windos ce 6.0).
I also applied the fixes of Address Issue #24: default values for fields if they are NULL and hav… and Fix fields that are nmot defaulted by the generator in order to fix i…
As a client I run the message_sender_sample provided in the samples.
The limitations on server side are due to the free account which limitates the incoming message by size
Thanks
Nicolò
from azure-uamqp-c.
Related Issues (20)
- Question: Message disposition disposition HOT 1
- Memory leak with version 1.2.11 HOT 1
- Unable to start multiple sessions on the same connection for receiving messages
- detach_get_error return non NULL value regardless of error
- CMake error CMP0002 when added multiple times
- Crash occurs when network is configured to NOT get DNS servers from DHCP
- Update submodule azure-c-shared-utility for certificate issue on MacOS
- Session still accessing link after link_destroy invoked, resulting in SEGFAULT HOT 2
- link_frame_received keeps generates unnecessary "Invalid argument (list=NULL)" errors
- uamqp to connect rabbitmq message broker. HOT 2
- Unable to compile for BSD11.
- Connect to service bus via WebSockets HOT 1
- Missing Support for AMQP Transaction
- How to provide receive offset or enqueued time filter? HOT 1
- Need example for batching
- src/amqp_definitions.c, src/cbs.c exist memory double-free issues
- After upgrading azure-iot-sdk-c from LTS_01_2021_Ref01 to LTS_07_2021_Ref01 certificate verify is flailing HOT 1
- Unable to run message_receiver_sample HOT 2
- Unable to use find_package HOT 1
- Potential missing check for null for a call to singlylinkedlist_item_get_value
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azure-uamqp-c.