Coder Social home page Coder Social logo

Comments (2)

dcristoloveanu avatar dcristoloveanu commented on June 28, 2024

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.

ndanzi avatar ndanzi commented on June 28, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.