[jira] [Resolved] (PROTON-2824) C example broker doesn't respond well if the client tries to use transactions

2024-05-29 Thread Andrew Stitcher (Jira)


 [ 
https://issues.apache.org/jira/browse/PROTON-2824?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Stitcher resolved PROTON-2824.
-
Fix Version/s: proton-c-0.40.0
   Resolution: Fixed

> C example broker doesn't respond well if the client tries to use transactions
> -
>
> Key: PROTON-2824
> URL: https://issues.apache.org/jira/browse/PROTON-2824
> Project: Qpid Proton
>  Issue Type: Improvement
>  Components: proton-c
>Affects Versions: proton-c-0.39.0
>Reporter: Andrew Stitcher
>Assignee: Andrew Stitcher
>Priority: Major
> Fix For: proton-c-0.40.0
>
>
> If the broker doesn't support transactions it should close the link to the 
> transaction coordinator when the attach is attempted. Currently it just 
> attaches the link.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Resolved] (PROTON-2825) C++ binding treats transaction coordinator termini incorrectly

2024-05-29 Thread Andrew Stitcher (Jira)


 [ 
https://issues.apache.org/jira/browse/PROTON-2825?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Stitcher resolved PROTON-2825.
-
Fix Version/s: proton-c-0.40.0
   Resolution: Fixed

> C++ binding treats transaction coordinator termini incorrectly
> --
>
> Key: PROTON-2825
> URL: https://issues.apache.org/jira/browse/PROTON-2825
> Project: Qpid Proton
>  Issue Type: Bug
>  Components: cpp-binding
>Affects Versions: proton-c-0.39.0
>Reporter: Andrew Stitcher
>Assignee: Andrew Stitcher
>Priority: Major
> Fix For: proton-c-0.40.0
>
>
> The C++ binding has no abstraction to represent a transaction coordinator 
> terminus but when it receives an attach with a target terminus which is a 
> transaction coordinator it just opens the link.
> However because there is no correct abstraction for the transaction 
> coordinator terminus the server end of the link cannot respond correctly to 
> transaction messages being sent over this link. It doesn't even know that it 
> is not just a regular target terminus.
> As an aside, even if there was some way of knowing about the transaction 
> coordinator there isn't any way in the C++ bindings to construct the correct 
> disposition messages necessary to respond to the transaction control messages.
> Currently the binding should just reject the initial attempt to attach the 
> transaction controller terminus.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (PROTON-2825) C++ binding treats transaction coordinator termini incorrectly

2024-05-29 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/PROTON-2825?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17850478#comment-17850478
 ] 

ASF subversion and git services commented on PROTON-2825:
-

Commit 813f87eef9e44682948e390b1d20a68ff283bad1 in qpid-proton's branch 
refs/heads/main from Andrew Stitcher
[ https://gitbox.apache.org/repos/asf?p=qpid-proton.git;h=813f87eef ]

PROTON-2825: [C++ binding] Reject incoming transaction coordinator links


> C++ binding treats transaction coordinator termini incorrectly
> --
>
> Key: PROTON-2825
> URL: https://issues.apache.org/jira/browse/PROTON-2825
> Project: Qpid Proton
>  Issue Type: Bug
>  Components: cpp-binding
>Affects Versions: proton-c-0.39.0
>Reporter: Andrew Stitcher
>Assignee: Andrew Stitcher
>Priority: Major
>
> The C++ binding has no abstraction to represent a transaction coordinator 
> terminus but when it receives an attach with a target terminus which is a 
> transaction coordinator it just opens the link.
> However because there is no correct abstraction for the transaction 
> coordinator terminus the server end of the link cannot respond correctly to 
> transaction messages being sent over this link. It doesn't even know that it 
> is not just a regular target terminus.
> As an aside, even if there was some way of knowing about the transaction 
> coordinator there isn't any way in the C++ bindings to construct the correct 
> disposition messages necessary to respond to the transaction control messages.
> Currently the binding should just reject the initial attempt to attach the 
> transaction controller terminus.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (PROTON-2824) C example broker doesn't respond well if the client tries to use transactions

2024-05-29 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/PROTON-2824?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17850477#comment-17850477
 ] 

ASF subversion and git services commented on PROTON-2824:
-

Commit 54db24fcb39c4e39f122d3069680eb20e93a3ac5 in qpid-proton's branch 
refs/heads/main from Andrew Stitcher
[ https://gitbox.apache.org/repos/asf?p=qpid-proton.git;h=54db24fcb ]

PROTON-2824: [C example beoker] Reject attempts to use transactions

Close the link with an error if the client tries to attach to a
tnasactions coordinator terminus.


> C example broker doesn't respond well if the client tries to use transactions
> -
>
> Key: PROTON-2824
> URL: https://issues.apache.org/jira/browse/PROTON-2824
> Project: Qpid Proton
>  Issue Type: Improvement
>  Components: proton-c
>Affects Versions: proton-c-0.39.0
>Reporter: Andrew Stitcher
>Assignee: Andrew Stitcher
>Priority: Major
>
> If the broker doesn't support transactions it should close the link to the 
> transaction coordinator when the attach is attempted. Currently it just 
> attaches the link.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Created] (PROTON-2825) C++ binding treats transaction coordinator termini incorrectly

2024-05-29 Thread Andrew Stitcher (Jira)
Andrew Stitcher created PROTON-2825:
---

 Summary: C++ binding treats transaction coordinator termini 
incorrectly
 Key: PROTON-2825
 URL: https://issues.apache.org/jira/browse/PROTON-2825
 Project: Qpid Proton
  Issue Type: Bug
  Components: cpp-binding
Affects Versions: proton-c-0.39.0
Reporter: Andrew Stitcher
Assignee: Andrew Stitcher


The C++ binding has no abstraction to represent a transaction coordinator 
terminus but when it receives an attach with a target terminus which is a 
transaction coordinator it just opens the link.

However because there is no correct abstraction for the transaction coordinator 
terminus the server end of the link cannot respond correctly to transaction 
messages being sent over this link. It doesn't even know that it is not just a 
regular target terminus.

As an aside, even if there was some way of knowing about the transaction 
coordinator there isn't any way in the C++ bindings to construct the correct 
disposition messages necessary to respond to the transaction control messages.

Currently the binding should just reject the initial attempt to attach the 
transaction controller terminus.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Updated] (PROTON-2824) C example broker doesn't respond well if the client tries to use transactions

2024-05-29 Thread Andrew Stitcher (Jira)


 [ 
https://issues.apache.org/jira/browse/PROTON-2824?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Stitcher updated PROTON-2824:

Description: If the broker doesn't support transactions it should close the 
link to the transaction coordinator when the attach is attempted. Currently it 
just attaches the link.

> C example broker doesn't respond well if the client tries to use transactions
> -
>
> Key: PROTON-2824
> URL: https://issues.apache.org/jira/browse/PROTON-2824
> Project: Qpid Proton
>  Issue Type: Improvement
>  Components: proton-c
>Affects Versions: proton-c-0.39.0
>Reporter: Andrew Stitcher
>Assignee: Andrew Stitcher
>Priority: Major
>
> If the broker doesn't support transactions it should close the link to the 
> transaction coordinator when the attach is attempted. Currently it just 
> attaches the link.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Created] (PROTON-2824) C example broker doesn't respond well if the client tries to use transactions

2024-05-29 Thread Andrew Stitcher (Jira)
Andrew Stitcher created PROTON-2824:
---

 Summary: C example broker doesn't respond well if the client tries 
to use transactions
 Key: PROTON-2824
 URL: https://issues.apache.org/jira/browse/PROTON-2824
 Project: Qpid Proton
  Issue Type: Improvement
  Components: proton-c
Affects Versions: proton-c-0.39.0
Reporter: Andrew Stitcher
Assignee: Andrew Stitcher






--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org