Re: qpid clustering: Failed to initialize CPG

2011-05-11 Thread stoyan
what you suggested is what i am doing already: /sbin/service corosync start, then qpidd -d --config=/etc/qpid/qpid.conf --cluster-name=QpidCL are there other qpid options i should be using? how does qpid know how to reach the corosync cluster? maybe it is using another config file than what the

Sender Capacity and error handling

2011-05-11 Thread Ilyushonak Barys
Greetings. Could you please help me to answer on the following question: how can I handle exceptions while synchronous send? The docs says: If the connection fails and is transparently reconnected (see Section 2.10, Connection Options for details on how to control this feature), the unsettled

Re: qpid clustering: Failed to initialize CPG

2011-05-11 Thread stoyan
ok, initially after reading the qpid docs on setting up clustering i thought running the corosync service and qpidd with clustering options is enough, but now here's my wild idea - should the machines that i want to setup as qpid cluster be already in a linux cluster? i am not an admin, but while

Re: qpid clustering: Failed to initialize CPG

2011-05-11 Thread Alan Conway
On 05/11/2011 08:20 AM, stoyan wrote: ok, initially after reading the qpid docs on setting up clustering i thought running the corosync service and qpidd with clustering options is enough, but now here's my wild idea - should the machines that i want to setup as qpid cluster be already in a

Re: Sender Capacity and error handling

2011-05-11 Thread Gordon Sim
On 05/11/2011 12:55 PM, Ilyushonak Barys wrote: Greetings. Could you please help me to answer on the following question: how can I handle exceptions while synchronous send? The docs says: If the connection fails and is transparently reconnected (see Section 2.10, Connection Options for

RE: Sender Capacity and error handling

2011-05-11 Thread Ilyushonak Barys
Gordon, Thank you very much for quick response. We have decided to use reconnect_timeout and close session on exception. Could you please provide some best practice for error handling with messaging API? PS. I expected something like callback error handler and so on... Regards, Boris

Re: qpid clustering: Failed to initialize CPG

2011-05-11 Thread stoyan
Thank you , Alan i am also somewhat confused about openais/corosync - which service would qpid use? initially i started corosync on two servers and they seemed to communicate well (but when starting the broker on one of these servers it issued Failed to initialize CPG). then i tried to start

RE: Wild Cards on Topic Exchange

2011-05-11 Thread Steve Huston
Hi Ravin, We are using Topic exchange to send/receive messages in QPid and have run into some questions on how the wild card works. 1. Can a sender send to wild card topics? As an example, we want the sender to send to usa.* No - wild cards are for subscribing to the topics, not

Re: qpid clustering: Failed to initialize CPG

2011-05-11 Thread stoyan
testcpg update: testcpg failed because it wasn't run with the proper user; once that was fixed it executed fine: Local node id is 7364a8c0 membership list node id 1935976640 pid 9567 Type EXIT to finish ConfchgCallback: group 'GROUP' joined node/pid 1935976640/9567 reason: 1 nodes in group now 1

Re: Sender Capacity and error handling

2011-05-11 Thread Gordon Sim
On 05/11/2011 02:26 PM, Ilyushonak Barys wrote: Gordon, Thank you very much for quick response. We have decided to use reconnect_timeout and close session on exception. Could you please provide some best practice for error handling with messaging API? Hard to answer that without more