[ PATCH 1.1 1/2 ] Add payload enumerator for Exegy


Brown, John
 

This is an updated patch (to avoid clash with Rai Technologies) for the middleware enumeration conversion methods for Exegy. The reason for this submission is to allow Exegy to provide XCAPI to OpenMAMA middleware bridge.


Signed-off-by: John Brown <jbrown@...>


diff --git a/mama/c_cpp/src/c/mama/msg.h b/mama/c_cpp/src/c/mama/msg.h
--- a/mama/c_cpp/src/c/mama/msg.h
+++ b/mama/c_cpp/src/c/mama/msg.h

MAMA_PAYLOAD_EXEGY = 'X',



diff --git a/mama/c_cpp/src/c/msg.c b/mama/c_cpp/src/c/msg.c
--- a/mama/c_cpp/src/c/msg.c
+++ b/mama/c_cpp/src/c/msg.c

case MAMA_PAYLOAD_EXEGY:
return "EXEGY";


diff --git a/mama/c_cpp/src/c/mama/middleware.h b/mama/c_cpp/src/c/mama/middleware.h
--- a/mama/c_cpp/src/c/mama/middleware.h
+++ b/mama/c_cpp/src/c/mama/middleware.h

MAMA_MIDDLEWARE_MAX = 8,
MAMA_MIDDLEWARE_EXEGY = 8,
MAMA_MIDDLEWARE_MAX = 9,



diff --git a/mama/c_cpp/src/c/middleware.c b/mama/c_cpp/src/c/middleware.c
--- a/mama/c_cpp/src/c/middleware.c
+++ b/mama/c_cpp/src/c/middleware.c

case MAMA_MIDDLEWARE_EXEGY:
return "exegy";






John Brown III
Product Manager
Exegy, Inc.
+1.917.328.9516 (mobile)
jbrown@...
www.exegy.com


This e-mail and any documents accompanying it may contain legally privileged and/or confidential information belonging to Exegy, Inc. Such information may be protected from disclosure by law. The information is intended for use by only the addressee. If you are not the intended recipient, you are hereby notified that any disclosure or use of the information is strictly prohibited. If you have received this e-mail in error, please immediately contact the sender by e-mail or phone regarding instructions for return or destruction and do not use or disclose the content to others.


Glenn McClements <gmcclements@...>
 

John,
Missing from your patch is the addition of the enum value to
mamaMiddleware_convertFromString()
E.g. (from
http://wiki.openmama.org/index.php/OpenMAMA_Bridge_Documentation#Bridge_Arc
hitecture_Overview)

if (strcasecmp (str, "YourMiddlewareName") == 0)
return MAMA_MIDDLEWARE_YourMiddlewareName;


Can you add this and resubmit.

Regards,
Glenn

On 10/09/2012 13:00, "Brown, John" <jbrown@...> wrote:

This is an updated patch (to avoid clash with Rai Technologies) for the
middleware enumeration conversion methods for Exegy. The reason for this
submission is to allow Exegy to provide XCAPI to OpenMAMA middleware
bridge.


Signed-off-by: John Brown <jbrown@...>


diff --git a/mama/c_cpp/src/c/mama/msg.h b/mama/c_cpp/src/c/mama/msg.h
--- a/mama/c_cpp/src/c/mama/msg.h
+++ b/mama/c_cpp/src/c/mama/msg.h

MAMA_PAYLOAD_EXEGY = 'X',



diff --git a/mama/c_cpp/src/c/msg.c b/mama/c_cpp/src/c/msg.c
--- a/mama/c_cpp/src/c/msg.c
+++ b/mama/c_cpp/src/c/msg.c

case MAMA_PAYLOAD_EXEGY:
return "EXEGY";


diff --git a/mama/c_cpp/src/c/mama/middleware.h
b/mama/c_cpp/src/c/mama/middleware.h
--- a/mama/c_cpp/src/c/mama/middleware.h
+++ b/mama/c_cpp/src/c/mama/middleware.h

MAMA_MIDDLEWARE_MAX = 8,
MAMA_MIDDLEWARE_EXEGY = 8,
MAMA_MIDDLEWARE_MAX = 9,



diff --git a/mama/c_cpp/src/c/middleware.c b/mama/c_cpp/src/c/middleware.c
--- a/mama/c_cpp/src/c/middleware.c
+++ b/mama/c_cpp/src/c/middleware.c

case MAMA_MIDDLEWARE_EXEGY:
return "exegy";






John Brown III
Product Manager
Exegy, Inc.
+1.917.328.9516 (mobile)
jbrown@...
www.exegy.com


This e-mail and any documents accompanying it may contain legally
privileged and/or confidential information belonging to Exegy, Inc. Such
information may be protected from disclosure by law. The information is
intended for use by only the addressee. If you are not the intended
recipient, you are hereby notified that any disclosure or use of the
information is strictly prohibited. If you have received this e-mail in
error, please immediately contact the sender by e-mail or phone regarding
instructions for return or destruction and do not use or disclose the
content to others.
_______________________________________________
Openmama-dev mailing list
Openmama-dev@...
https://lists.openmama.org/mailman/listinfo/openmama-dev

________________________________

Please consider the environment before printing this e-mail.

This e-mail may contain confidential and/or privileged information. If you are not the intended recipient or have received this e-mail in error, please advise the sender immediately by reply e-mail and delete this message and any attachments without retaining a copy.

Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden.