Re: Sending objects to receivers

2012-10-16 Thread Pavel Moravec
+1, I have seen this working already in a qpid project. - Original Message - > From: "Andy Goldstein" > To: users@qpid.apache.org > Sent: Tuesday, October 16, 2012 6:48:15 PM > Subject: Re: Sending objects to receivers > > You could use something like Google Protocol Buffers to encode y

Re: Sending objects to receivers

2012-10-16 Thread Rajesh Khan
Ill have a look at Google Protocol however I would appreciate other ideas too. On Tue, Oct 16, 2012 at 10:48 AM, Andy Goldstein wrote: > You could use something like Google Protocol Buffers to encode your object > as a binary string to send it over the wire. > > Andy > > On Oct 16, 2012, at 12:46

Does the java broker support broker federation?

2012-10-16 Thread Praveen M
Hi, Can someone please tell me if broker federation is built into the qpid java broker? I saw some related threads, but would like to know what is the current state regarding this? If it is not built in, are there plans to do it? and if yes, it'd be nice to know the timeline. Thank you, -- -Prav

Re: Sending objects to receivers

2012-10-16 Thread Andy Goldstein
You could use something like Google Protocol Buffers to encode your object as a binary string to send it over the wire. Andy On Oct 16, 2012, at 12:46 PM, Rajesh Khan wrote: > Thats an idea. However I was curious is there a better way to do this ? > What if my object has lots of properties > >

Re: Sending objects to receivers

2012-10-16 Thread Rajesh Khan
Thats an idea. However I was curious is there a better way to do this ? What if my object has lots of properties On Tue, Oct 16, 2012 at 10:44 AM, Andy Goldstein wrote: > Could you just take your class's properties and place them in a map? > > Andy > > On Oct 16, 2012, at 12:29 PM, Rajesh Khan wr

Re: Sending objects to receivers

2012-10-16 Thread Andy Goldstein
Could you just take your class's properties and place them in a map? Andy On Oct 16, 2012, at 12:29 PM, Rajesh Khan wrote: > While studying QPIDD I realized that I could send maps and lists to > receivers like this > >qpid::types::Variant::Map content; >content["id"] = 9

Re: Linker Error when attempting to create an individual separate new project

2012-10-16 Thread Rajesh Khan
Thanks chuck the problem was solved when I entered the relevant Preprocessor definitions. On Tue, Oct 16, 2012 at 7:35 AM, Chuck Rolke wrote: > Darryl is on the case. The undefined symbols you see are from missing > dependency qpidtypes. > > In your project you must have Linker -> Input -> Addit

Re: Linker Error when attempting to create an individual separate new project

2012-10-16 Thread Chuck Rolke
Darryl is on the case. The undefined symbols you see are from missing dependency qpidtypes. In your project you must have Linker -> Input -> Additional Dependencies: qpidcommon(d).lib qpidcommon(d).lib qpidtypes(d).lib. Choose the (d) variants for debug builds. -Chuck - Original Message

Re: active-passive cluster

2012-10-16 Thread Pavel Moravec
Hi Terence, that is far away of my knowledge. I *think* CMAN nodes have to be in the same LAN, definitely latency between a pair of nodes has to be relatively low (something like round-trip time below 2ms). I recommend asking on cman mailing list for this. Kind regards, Pavel - Original M

Re: active-passive cluster

2012-10-16 Thread Terance Dias
I tried giving the hostname --> IP address translation to /etc/hosts but it did not work either. Then I tried giving the internal IP address of the node where I was trying to run the cman service. The cman service did run but it was not able to resolve the other node (which lies in another network)

Re: Linker Error when attempting to create an individual separate new project

2012-10-16 Thread Darryl L. Pierce
On Mon, Oct 15, 2012 at 05:26:12PM -0600, Rajesh Khan wrote: > The examples and qpid compile and run without errors in visual studio C++ > 2010. Now I wish to create a new project from scratch.After changing the > properties of the new project. > Adding additional headers and library paths similar