Re: Building Middleware for openMAMA.


Jacobraj Benet <JBenet@...>
 

Hi Chaskar,

Just to clarify, when you mean "router code", are you referring to the
bridge that connects the middleware and your application? OR are you
referring to the code in the middleware component?

What specific assistance do you need with writing the bridge interface in
C? If I have mistaken your requirement, please clarify.

Thanks,
Jacob

On 6/1/12 9:47 AM, "kulbhushan chaskar" <kulbhushanchaskar@gmail.com>
wrote:

Hi,

I am trying to buid middleware like Avis, also trying to write my
own network library
which is elvin in case of Avis, but it is in Java and I am trying to
write it in "C".
I somehow manage to write it, i.e. i successfully passed message in
between
mamaPublisherc and mamaSubscriberc.
I need more help regarding how to write router code in "C" where i
get information
about it

Thanx!!!!!!!!!!!
--------------------------------------------------------------------------
----------------------------------------

On 5/29/12, openmama-users-request@lists.openmama.org
<openmama-users-request@lists.openmama.org> wrote:
Send Openmama-users mailing list submissions to
openmama-users@lists.openmama.org

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.openmama.org/listinfo/openmama-users
or, via email, send a message with subject or body 'help' to
openmama-users-request@lists.openmama.org

You can reach the person managing the list at
openmama-users-owner@lists.openmama.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Openmama-users digest..."


Today's Topics:

1. installation with AVIS (John Gray)
2. Re: installation with AVIS (Jacobraj Benet)
3. Re: installation with AVIS (John Gray)
4. Re: installation with AVIS (Mike Schonberg)


----------------------------------------------------------------------

Message: 1
Date: Mon, 28 May 2012 20:49:38 +0100
From: John Gray <john.gray@neueda.com>
To: openmama-users@lists.openmama.org
Subject: [Openmama-users] installation with AVIS
Message-ID:
<CAKvjaeZ76k67aFft4b41-=FCVmwjm2RR9nFs1V-Mr3Co7EqxPA@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Hello

I have installed openmama and avis from the websites, but when trying to
run mamapublisherc I get the following error....

avis error code=10107, error msg=Transport endpoint is not connected

command line:
mamapublisherc -m avis -tport pub

Avis tests for secure_sender and secure_receiver seem to work fine.

What needs done to correct this?

Thanks
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL:

<http://lists.openmama.org/pipermail/openmama-users/attachments/20120528/
ca367682/attachment-0001.html>

------------------------------

Message: 2
Date: Tue, 29 May 2012 09:50:53 -0500
From: Jacobraj Benet <JBenet@nyx.com>
To: John Gray <john.gray@neueda.com>,
"openmama-users@lists.openmama.org"
<openmama-users@lists.openmama.org>
Subject: Re: [Openmama-users] installation with AVIS
Message-ID: <CBEA4BB9.4B6A%jbenet@nyx.com>
Content-Type: text/plain; charset="windows-1252"

Hi John,

If possible can you run the mamapublicherc in verbose mode ?v ?v ?v ?v
and
send over the verbose output.

Also please provide us with your mama.properites.

Thanks,
Jacob

From: John Gray <john.gray@neueda.com<mailto:john.gray@neueda.com>>
To:

"openmama-users@lists.openmama.org<mailto:openmama-users@lists.openmama.o
rg>"

<openmama-users@lists.openmama.org<mailto:openmama-users@lists.openmama.o
rg>>
Subject: [Openmama-users] installation with AVIS

Hello

I have installed openmama and avis from the websites, but when trying
to run
mamapublisherc I get the following error....

avis error code=10107, error msg=Transport endpoint is not connected

command line:
mamapublisherc -m avis -tport pub

Avis tests for secure_sender and secure_receiver seem to work fine.

What needs done to correct this?

Thanks
John

-------------------------------------------------------------------------
-----

Please consider the environment before printing this email.

Visit our website at http://www.nyse.com <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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:

<http://lists.openmama.org/pipermail/openmama-users/attachments/20120529/
0a237897/attachment-0001.html>

------------------------------

Message: 3
Date: Tue, 29 May 2012 16:04:34 +0100
From: John Gray <john.gray@neueda.com>
To: Jacobraj Benet <JBenet@nyx.com>
Cc: "openmama-users@lists.openmama.org"
<openmama-users@lists.openmama.org>
Subject: Re: [Openmama-users] installation with AVIS
Message-ID:
<CAKvjaebsAG1xU2VSRtE4JHO1hhpf6p3=r9ZDVjUdNfmmabsOnw@mail.gmail.com>
Content-Type: text/plain; charset="windows-1252"

Hi Jacob - see output below
mama.properties attached (assumed it would use the default localhost as
the
transport setting). This is as downloaded from openmama site.

Thanks
John

john@john-laptop:~/openmama/OpenMAMA-2.1/bin$ ./mamapublisherc -m avis
-s
MAMA_INBOUND_TOPIC -tport pub -v -v -v -v
Starting Publisher with:
topic: MAMA_INBOUND_TOPIC
inbound topic: MAMA_INBOUND_TOPIC
interval 0.500000
transport: pub
2012-05-29 04:58:27: (d2fa9700) : mama_loadBridge(): Sucessfully loaded
avis bridge from library [mamaavisimpl]
2012-05-29 04:58:27: (d2fa9700) : avisBridge_open(): Entering.
2012-05-29 04:58:27: (d2fa9700) : Using path specified in WOMBAT_PATH
2012-05-29 04:58:27: (d2fa9700) : Using default properties file
mama.properties
2012-05-29 04:58:27: (d2fa9700) : Attempting to load MAMA properties
from
/home/john/openmama/OpenMAMA-2.1/examples/mama/c
2012-05-29 04:58:27: (d2fa9700) : avisBridge_open(): Successfully
created
Avis queue
2012-05-29 04:58:27: (d2fa9700) :

*************************************************************************
*******
Warning: This is a developer release and has only undergone basic sanity
checks.
It is for testing only and should not be used in a production
environment

*************************************************************************
*********
2012-05-29 04:58:27: (d2fa9700) : Using path specified in WOMBAT_PATH
2012-05-29 04:58:27: (d2fa9700) : Using default properties file
mama.properties
2012-05-29 04:58:27: (d2fa9700) : Attempting to load MAMA properties
from
/home/john/openmama/OpenMAMA-2.1/examples/mama/c
2012-05-29 04:58:27: (d2fa9700) : mama_loadPayloadBridge(): Sucessfully
loaded avismsg payload bridge from library [mamaavismsgimpl]
2012-05-29 04:58:27: (d2fa9700) : mama 6.0.0rc19 (Unable to get version
number) (not entitled)
2012-05-29 04:58:27: (d2fa9700) :

*************************************************************************
*******
Note: This build of the MAMA API is not enforcing entitlement checks.
Please see the Licensing file for details

*************************************************************************
*********
2012-05-29 04:58:27: (d2fa9700) : Entering mamaTransport_create for
transport (0x1756850) with name pub
2012-05-29 04:58:27: (d2fa9700) : Creating transport: [pub]
2012-05-29 04:58:27: (d2fa9700) : Number of load balanced sub transports
defined: [0]
2012-05-29 04:58:27: (d2fa9700) : Not using load balancing
2012-05-29 04:58:27: (d2fa9700) : initializing Avis transport: pub
2012-05-29 04:58:27: (d2fa9700) : open failed for url: pub
2012-05-29 04:58:27: (d2fa9700) : avis error code=10107, error
msg=Transport endpoint is not connected
Error creating transport: STATUS_PLATFORM
john@john-laptop:~/openmama/OpenMAMA-2.1/bin$ ^C



On 29 May 2012 15:50, Jacobraj Benet <JBenet@nyx.com> wrote:

Hi John,

If possible can you run the mamapublicherc in verbose mode ?v ?v ?v ?v
and
send over the verbose output.

Also please provide us with your mama.properites.

Thanks,
Jacob

From: John Gray <john.gray@neueda.com>
To: "openmama-users@lists.openmama.org"
<openmama-users@lists.openmama.org
Subject: [Openmama-users] installation with AVIS

Hello

I have installed openmama and avis from the websites, but when trying
to
run mamapublisherc I get the following error....

avis error code=10107, error msg=Transport endpoint is not connected

command line:
mamapublisherc -m avis -tport pub

Avis tests for secure_sender and secure_receiver seem to work fine.

What needs done to correct this?

Thanks
John

------------------------------

*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. *
-------------- next part --------------
An HTML attachment was scrubbed...
URL:

<http://lists.openmama.org/pipermail/openmama-users/attachments/20120529/
3463f6a7/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mama.properties
Type: application/octet-stream
Size: 1852 bytes
Desc: not available
URL:

<http://lists.openmama.org/pipermail/openmama-users/attachments/20120529/
3463f6a7/attachment-0001.obj>

------------------------------

Message: 4
Date: Tue, 29 May 2012 11:10:45 -0400
From: Mike Schonberg <mschonberg@nyx.com>
To: John Gray <john.gray@neueda.com>,
"openmama-users@lists.openmama.org"
<openmama-users@lists.openmama.org>
Subject: Re: [Openmama-users] installation with AVIS
Message-ID:
<F75B69A6500FB8458740F47B9F751AFE86AEDA14A6@PM1COEXM03.ad.NYX.com>
Content-Type: text/plain; charset="us-ascii"

Is the avis daemon running?

Regards,
-Mike

From: openmama-users-bounces@lists.openmama.org
[mailto:openmama-users-bounces@lists.openmama.org] On Behalf Of John
Gray
Sent: Monday, May 28, 2012 12:50 PM
To: openmama-users@lists.openmama.org
Subject: [Openmama-users] installation with AVIS

Hello

I have installed openmama and avis from the websites, but when trying
to run
mamapublisherc I get the following error....

avis error code=10107, error msg=Transport endpoint is not connected

command line:
mamapublisherc -m avis -tport pub

Avis tests for secure_sender and secure_receiver seem to work fine.

What needs done to correct this?

Thanks
John

-------------------------------------------------------------------------
-----

Please consider the environment before printing this email.

Visit our website at http://www.nyse.com <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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:

<http://lists.openmama.org/pipermail/openmama-users/attachments/20120529/
61ead561/attachment.html>

------------------------------

_______________________________________________
Openmama-users mailing list
Openmama-users@lists.openmama.org
http://lists.openmama.org/listinfo/openmama-users


End of Openmama-users Digest, Vol 2, Issue 1
********************************************
_______________________________________________
Openmama-users mailing list
Openmama-users@lists.openmama.org
http://lists.openmama.org/listinfo/openmama-users
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.

Join Openmama-users@lists.openmama.org to automatically receive all group messages.