You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2026/06/01 11:35:00 UTC

[jira] [Commented] (QPIDJMS-616) ProviderException losses additional error info

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

ASF GitHub Bot commented on QPIDJMS-616:
----------------------------------------

vm-karthik commented on PR #55:
URL: https://github.com/apache/qpid-jms/pull/55#issuecomment-4592176562

   Hello @gemmellr, Can you please review this ? I have already created a JIRA Bug for this : https://issues.apache.org/jira/browse/QPIDJMS-616 
   
   Please pardon me if I am tagging a wrong person of if correct process has not been followed here. Kindly let me know the process, if wrong.. 




> ProviderException losses additional error info
> ----------------------------------------------
>
>                 Key: QPIDJMS-616
>                 URL: https://issues.apache.org/jira/browse/QPIDJMS-616
>             Project: Qpid JMS
>          Issue Type: Bug
>          Components: qpid-jms-client
>    Affects Versions: 2.9.0
>            Reporter: Karthik V
>            Priority: Major
>         Attachments: image-2025-11-07-13-43-16-346.png
>
>
> Dear Experts,
> When a ProviderException is created in AmqpSupport.java ([here),|https://github.com/apache/qpid-jms/blob/a5d9869808c7a4dbbbd108d238b7241d57b90c76/qpid-jms-client/src/main/java/org/apache/qpid/jms/provider/amqp/AmqpSupport.java#L181] the curicial additional details about the error is lost, which otherwise would help identify the root cause of the issue on the client side.
>  
> h4. Example :
> We work with Solace as the message broker, and with this there are many situations where the ErrorCondition looks like below
> {code:java}
> Rejected{error=Error{condition=amqp:not-allowed, description='SMF AD ack response error', info={solace.response_code=400, solace.response_text=Document Is Too Large}}}
> {code}
> But as the [extractErrorMessage|https://github.com/apache/qpid-jms/blob/a5d9869808c7a4dbbbd108d238b7241d57b90c76/qpid-jms-client/src/main/java/org/apache/qpid/jms/provider/amqp/AmqpSupport.java#L199] does not also consider the {{_info}} of {{ErrorCondition}}, this information is lost in the exception and all we get is :
> {code:java}
> Caused by: org.apache.qpid.jms.provider.ProviderException: SMF AD ack response error [condition = amqp:not-allowed]
> {code}
> While the {{SMF AD ack response error [condition = amqp:not-allowed]}} is a generic message for a many error situations.
> It would be great to have this information. I am also willing to contribute here, as I dont have any clue of the design and code base, any guidance here would also help me. 
> Thanks & Best Regards,
> Karthik



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

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