Bridge Error Code


Mike Schonberg <mschonberg@...>
 

Mark,

 

MAMA_STATUS_PLATFORM is used for generic bridge errors. It might be useful to add some more specific error codes as well.

 

Regards,

-Mike

 

From: openmama-dev-bounces@... [mailto:openmama-dev-bounces@...] On Behalf Of Mark Spielman
Sent: Tuesday, March 27, 2012 12:08 PM
To: openmama-dev@...
Subject: [Openmama-dev] Bridge Error Code

 

I am in the process of implementing a bridge support for a new middleware component in openMAMA.  During implementation I have a need to return a sensible mama_status code for a generic bridge error.  Something equivalent to handling unexpected internal errors.  I see there’s the following in status.h:

 

/* No bridge */

    MAMA_STATUS_NO_BRIDGE_IMPL              = 26,

 

But I’m looking more for something like: MAMA_STATUS_BRDIGE_INTERNAL_ERROR

 

Can you suggest what the appropriate code is.  In general I will try to match up to existing codes wherever possible.

 

Cheers,

Mark

 

 

 

Mark Spielman

Development Lead, Solace Systems Professional Services
+1-613-271-1010 x1021

mark.spielman@...

www.solacesystems.com

 

 




Please consider the environment before printing this email.

Visit our website at http://www.nyse.com
*****************************************************************************
Note: The information contained in this message and any attachment to it is privileged, confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by replying to the message, and please delete it from your system. Thank you. NYSE Euronext.




Mark Spielman
 

I am in the process of implementing a bridge support for a new middleware component in openMAMA.  During implementation I have a need to return a sensible mama_status code for a generic bridge error.  Something equivalent to handling unexpected internal errors.  I see there’s the following in status.h:

 

/* No bridge */

    MAMA_STATUS_NO_BRIDGE_IMPL              = 26,

 

But I’m looking more for something like: MAMA_STATUS_BRDIGE_INTERNAL_ERROR

 

Can you suggest what the appropriate code is.  In general I will try to match up to existing codes wherever possible.

 

Cheers,

Mark

 

 

 

Mark Spielman

Development Lead, Solace Systems Professional Services
+1-613-271-1010 x1021

mark.spielman@...

www.solacesystems.com