Is it possible to obtain all consumers/producers connected to a broker federation

2022-04-26 Thread Rajesh Khan
I currently have a broker federation that has different consumers (about 200) connected across this federation.In C++ is there a way for a message producer to get a list of all consumers connected to a federation ? Any specific APIs that I can use ?

Removing a receiver.

2013-10-17 Thread Rajesh Khan
>From the manual it states that you could read from multiple receivers and you could do that: by adding a receiver to a session as such: Receiver receiver1 = session.createReceiver(address1); Then you could simply read it: Message message = session.nextReceiver().fetch(); Now my question is how

Re: Create a collection of topics

2013-10-02 Thread Rajesh Khan
Sure here is how I create multiple topics Void CreateDynamicTopic(int con) { std::string queue_name = std::string("amq.topic/") + "Symbol_Topic_" + boost::lexical_cast(con); std::string sender_string = queue_name +";{node:{type:topic}}"; connection = qpid::messaging::Connecti

Re: Any way for topics to be deleted when the creator shuts down

2013-09-10 Thread Rajesh Khan
session.createSender(sender_string) ; ... ... //Now closing the connection so that exchange state alters connection.close(); However even after closing the topic connection my receiver does not get an alert. On Tue, Sep 10, 2013 at 11:01 AM, Gordon Sim wrote: > On 09/10/2013 03:50 PM, Rajesh

Re: Any way for topics to be deleted when the creator shuts down

2013-09-10 Thread Rajesh Khan
Just to correct my previous message mistake. By queue I mean a topic. On Tue, Sep 10, 2013 at 10:50 AM, Rajesh Khan wrote: > Since there is no way to delete the queues. For now I am testing to see if > the topics get deleted when I close the connection that created them. > My connecti

Re: Any way for topics to be deleted when the creator shuts down

2013-09-10 Thread Rajesh Khan
Since there is no way to delete the queues. For now I am testing to see if the topics get deleted when I close the connection that created them. My connection string is: std::string queue_name = std::string("amq.topic/") + Name_Of_Topic ; std::string sender_string = queue_name +";{create:always,

Re: Any way for topics to be deleted when the creator shuts down

2013-09-09 Thread Rajesh Khan
Is there anyway for qpid to know that the sender has disconnected even if the sender does not elegantly disconnect by code ? On Mon, Sep 9, 2013 at 5:20 PM, Rajesh Khan wrote: > looks like you were closing the connection. In my scenario I donot close > the connection . Just to simu

Re: Any way for topics to be deleted when the creator shuts down

2013-09-09 Thread Rajesh Khan
:15:26PM -0400, Rajesh Khan wrote: > > Currently I have an app call it "Sender" that creates topics using the > > following string > > > > std::string sender_string = queue_name +";{create:always, delete:always, > > node:{type:topic}}"; >

Re: Any way for topics to be deleted when the creator shuts down

2013-09-09 Thread Rajesh Khan
:topic}}"; The following characteristics would be exhibited (Please correct me if I am wrong) 1-Once the sender application stops due to whatever reason the exchange gets removed and all the receivers would get an exception ? On Mon, Sep 9, 2013 at 2:23 PM, Rajesh Khan wrote: > Any sugg

Re: Any way for topics to be deleted when the creator shuts down

2013-09-09 Thread Rajesh Khan
remove "delete:always" from the sender as deleting of topics by the listeners is totally unacceptable in my case On Mon, Sep 9, 2013 at 2:16 PM, Darryl L. Pierce wrote: > On Mon, Sep 09, 2013 at 02:08:59PM -0400, Rajesh Khan wrote: > > Hi Gordon , Thanks for the reply t

Re: Any way for topics to be deleted when the creator shuts down

2013-09-09 Thread Rajesh Khan
should be deleted And the listeners should get an exception. On Mon, Sep 9, 2013 at 1:35 PM, Darryl L. Pierce wrote: > On Mon, Sep 09, 2013 at 01:15:26PM -0400, Rajesh Khan wrote: > > Currently I have an app call it "Sender" that creates topics using the > > f

Any way for topics to be deleted when the creator shuts down

2013-09-09 Thread Rajesh Khan
Currently I have an app call it "Sender" that creates topics using the following string std::string sender_string = queue_name +";{create:always, delete:always, node:{type:topic}}"; Now I was under the impression that if the sender application closes for some reason The Broker would delete the t

Create a collection of topics

2013-09-08 Thread Rajesh Khan
Currently I am creating about 100 to 200 topics sequentially which takes some time. I wanted to know if there is a faster way especially if the no of topics increase.

Re: Possibility Running multiple instances of broker on the same machine.

2013-08-29 Thread Rajesh Khan
7;ll need a separate data directory. I apologize for leaving that > out. > > > -Original Message- > > From: Rajesh Khan [mailto:rajeshkhan...@gmail.com] > > Sent: Thursday, August 29, 2013 4:45 PM > > To: users@qpid.apache.org > > Subject: Re: Possibil

Re: Possibility Running multiple instances of broker on the same machine.

2013-08-29 Thread Rajesh Khan
her process has locked a portion o f the file. any way I could tell it to create or access another .DATA file ? On Thu, Aug 29, 2013 at 4:40 PM, Steve Huston wrote: > Add the --port= option to specify a new port. > > > -Original Message- > > From: Rajesh Kh

Possibility Running multiple instances of broker on the same machine.

2013-08-29 Thread Rajesh Khan
We are currently running a C++ broker on our windows 7 machine using the following command: *qpidd --tcp-nodelay --auth=no* I wanted to know if it will be possible to launch another instance of the broker on the same machine. I believe we will have to give it a different port to bind on but then

Re: Clearing up queues in C++

2013-08-28 Thread Rajesh Khan
While attempting to try this on the actual platform. I do not see the name of the queue i want to empty using qpid: list queue Any idea on why it might be missing? On Wed, Aug 28, 2013 at 4:50 PM, Rajesh Khan wrote: > Thanks that seems to do the trick. Any idea how I could do

Re: Clearing up queues in C++

2013-08-28 Thread Rajesh Khan
pe Direction Unit Description > > > == > > request uint32 I0 for all messages or n>0 > for n > > messages > > filterfield

Clearing up queues in C++

2013-08-28 Thread Rajesh Khan
I wanted to know what my options are when I need to clear up queues. My first preference would be to clear them up programatically. I tried setting a queue to auto-delete however that does not seem to work.I have a sender and a receiver. The receiver creates a queue and sets the auto delete paramet

Any way Qpid could preserve messages in TOPICS. Possibility ?

2013-08-14 Thread Rajesh Khan
It seems like we are running into a requirement and I wanted to know if there was a way for TOPICS to preserve the last message Initially I was using LVQ which was really great however due to acknowledging messages and the delay we get because of that I moved to using QPID topics instead of queues.

Re: Problem connecting "No protocol received closing"

2013-07-26 Thread Rajesh Khan
We are trying to run the Qpid C++ broker on Fedora 18, but when we increase the number of connections to Qpid topics we get a tremendous number of these messages in the log: Jul 26 12:09:36 jackson qpidd[31823]: 2013-07-26 18:09:36 [System] error Could not accept socket: Too many open files (/buil

Any Reason For : Could not accept socket: Too many open files

2013-07-19 Thread Rajesh Khan
I started getting a message from qpidd stating "Could not accept socket: Too many open files" any reason for that message. Are there too many users connected to qpid ?

Re: tcp-nodelay on broker

2013-07-15 Thread Rajesh Khan
lke wrote: > For the C++ broker you have the start option: > > --tcp-nodelay Set TCP_NODELAY on TCP connections > > The option only affects the behavior of the sending side of the connection > where the option is set. > > - Original Message -

tcp-nodelay on broker

2013-07-13 Thread Rajesh Khan
The manual states "For latency sensitive applications, setting tcp-nodelay on qpidd and on client connections can help reduce the latency" I know how to set this option for clients(Receiver). How do we set it up for qpidd(broker). Do we need to set it up on the sender side too ?

Re: How to send binary messages with QPID

2013-07-11 Thread Rajesh Khan
Thanks Gordon that did the trick. On Thu, Jul 11, 2013 at 2:50 AM, Gordon Sim wrote: > On 07/11/2013 02:01 AM, Rajesh Khan wrote: > >> I am attempting to enclose a binary message in C++ and trying to receive >> it >> at C# >> here is what I am doing &

Concept of groups in QPID

2013-07-11 Thread Rajesh Khan
I was curious about the concept of message groups provided by qpid. The documentation has a code example but it does not explain what message groups really is. Does it mean we can group multiple queues and assign those queues a group . Then send a message to the group and all the queue/topics get t

How to send binary messages with QPID

2013-07-10 Thread Rajesh Khan
I am attempting to enclose a binary message in C++ and trying to receive it at C# here is what I am doing in my c++ std::string ser = obj.SerializeAsString(); response.setContent(ser); //This is a message type; and in C# String resp = response.GetContent(); byte[] bytes = System.Text.Encoding.UTF

Improving the performance of topics

2013-07-03 Thread Rajesh Khan
I wanted to know what additional steps could be taken to improve the performance of topics. I know with queues you could experiment with the sender and receiver capacity. I wanted to know if there are other steps you could experiment with to improve the performance of topics.I know the sender capac

Boosting the speed of a LVQ (sender and receiver) - Multiple Receivers

2013-06-18 Thread Rajesh Khan
I currently have the following configuration and wanted to know if there was anything that I can do to boost the performance of my LVQ.Also there are some questions: The sender creates a LVQ with the following configuration "queue_name;{create:always, node:{type:queue, x-declare:{arguments:{'qpi

Re: Is the class Receiver in QPID thread safe

2013-06-17 Thread Rajesh Khan
at can't really be done in parallel in any way, it is of necessity a serial sequence of operations. Doesnt this mean that these 3 objects (connection,receiver and session) are not thread safe ? On Mon, Jun 17, 2013 at 2:43 AM, Gordon Sim wrote: > On 06/17/2013 12:42 AM, Rajesh Khan wrote: &

Re: Is the class Receiver in QPID thread safe

2013-06-16 Thread Rajesh Khan
l received closing"* . I resolved this problem by introducing a lock on this method. Could anyone kindly tell me if I did the right thing here. On Fri, Jun 14, 2013 at 2:19 PM, Rajesh Khan wrote: > A question well asked. I am also curious will distributing the load of a > certain queue ove

Re: Problem connecting "No protocol received closing"

2013-06-16 Thread Rajesh Khan
In the above code connection is a class instance boost shared ptr and the method is running in a separate thread On Sun, Jun 16, 2013 at 1:19 AM, Rajesh Khan wrote: > While attempting to connect to the broker I am getting the following error > message > > 2013-06-16 01:15:25 [S

Problem connecting "No protocol received closing"

2013-06-16 Thread Rajesh Khan
While attempting to connect to the broker I am getting the following error message 2013-06-16 01:15:25 [System] error Connection 127.0.0.1:5672-127.0.0.1:51592No protocol received closing My C++ code looks like this. The error occurs when I attempt to open a connection connection = boost::make_s

Re: Is the class Receiver in QPID thread safe

2013-06-14 Thread Rajesh Khan
his makes sense! > > > > Thanks, > > Connor > > > > > > From: Gordon Sim [g...@redhat.com] > > Sent: Friday, June 14, 2013 1:35 AM > > To: users@qpid.apache.org > > Subject: Re: Is the class Receiver

Re: What exactly is tcp-nodelay ?

2013-06-14 Thread Rajesh Khan
Thanks for your reply do we set this option in both the sender and the receiver On Fri, Jun 14, 2013 at 1:27 AM, Jason Barto wrote: > Tcp no delay disables a part of the Tcp stack which essentially buffers Tcp > packets until there are enough to basically make the sending worthwhile. > > http://

What exactly is tcp-nodelay ?

2013-06-14 Thread Rajesh Khan
While going through the manual the only information I got was For C++ "For latency sensitive applications, setting tcp-nodelay on qpidd and on client connections can help reduce the latency". I have two questions 1- What tcp-nodelay do ? 2- Do we set it up on both the sender and the receiver ? T

Is the class Receiver in QPID thread safe

2013-06-13 Thread Rajesh Khan
While going through some QPID code I wanted to know if the Receiver Class in QPID is thread safe (i.e) Any drawbacks if multiple threads access it at the same time ?

limits on capacity and ack

2013-06-13 Thread Rajesh Khan
Are their any limits on setting up a capacity for a receiver. I mean is there a maximum value ?

Comparing latency between reading messages

2013-06-13 Thread Rajesh Khan
Does qpid offer any functionality that might enable us to obtain the time a message was dispatched and the time it was read ?

Re: qpid-config issue

2013-06-12 Thread Rajesh Khan
Thanks that did the trick. I just needed to add to PYTHONPATH On Wed, Jun 12, 2013 at 5:29 AM, Darryl L. Pierce wrote: > On Tue, Jun 11, 2013 at 02:19:33PM -0500, Rajesh Khan wrote: > > I am having the following issue with Qpid-config and I am unable to > create > > queues

Re: qpid-config issue

2013-06-11 Thread Rajesh Khan
Any chance I am missing something here? On Tue, Jun 11, 2013 at 3:24 PM, Rajesh Khan wrote: > After a little work Now I am getting the following > > > C:\qpid-0.18\qpid-0.18\tools\src\py>python qpid-config > File "qpid-config", line 162 > print usage

Re: qpid-config issue

2013-06-11 Thread Rajesh Khan
i Rajesh, > that appears when python-qpid package is not installed (but I have no > experience how to install it on Windows). As this package implements > qpid.messaging library. > > Kind regards, > Pavel > > - Original Message - > > From: "Rajesh Khan"

qpid-config issue

2013-06-11 Thread Rajesh Khan
I am having the following issue with Qpid-config and I am unable to create queues. I am getting the following message. Any suggestions on how I could resolve this issue. C:\qpid-0.18\qpid-0.18\tools\src\py>python qpid-config Traceback (most recent call last): File "qpid-config", line 31, in

Address string issue - How to insert these options programatically

2013-03-02 Thread Rajesh Khan
I am currently creating a que with the following configuration python qpid-config add queue que_prices --argument qpid.last_value_queue_key=ticker --limit-policy=ring --max-queue-size=0 --max-queue-count=0 I know how to create a queue programatically and make it an LVQ. This is how I would do i

Re: Failed to connect (reconnect disabled) issue

2013-02-20 Thread Rajesh Khan
After going through the manual i realized that I was supposed to do that. I am changing my code right now and will update on the results On Wed, Feb 20, 2013 at 12:32 PM, Steve Huston wrote: > Do you ever close the Connection objects? > > > -Original Message- > >

Re: cant read property of message in C++

2013-02-18 Thread Rajesh Khan
I guess we will have to read through the map then. On Tue, Feb 19, 2013 at 12:26 AM, Rajesh Khan wrote: > I know in C# i could read properties like > properties["propname"].ToString(); > However in C++ I could set a property but getproperties in c++ returns a > reference t

Re: Qpidd Issue - Queues are not being added anymore

2013-02-04 Thread Rajesh Khan
Just a minor correction - "Qpid wouldn't accept any queues" On Mon, Feb 4, 2013 at 9:41 AM, Rajesh Khan wrote: > This morning when I started my computer Qpidd wouldnt accept and queues. > I usually start my Qpidd boker with the following command: > *qpidd --auth=no *

Qpidd Issue - Queues are not being added anymore

2013-02-04 Thread Rajesh Khan
This morning when I started my computer Qpidd wouldnt accept and queues. I usually start my Qpidd boker with the following command: *qpidd --auth=no * Now I am attempting to add a queue to it as such *D:\qpid-0.18\qpid-0.18\tools\src\py>python qpid-config add queue Testing D:\qpid-0.18\qpid-0.18\to

Re: Getting "[Broker] warning Exception on notification of dequeue" What does this mean ?

2013-02-04 Thread Rajesh Khan
Hi Gordon turning out setting to Browse fixed the memory issue. Also one of the queues did not having a limit on it. Setting a limit resolved the issue. Thanks On Fri, Feb 1, 2013 at 6:42 AM, Rajesh Khan wrote: > Just looked at the code and to my surprise I am not browsing at that qu

Re: Getting "[Broker] warning Exception on notification of dequeue" What does this mean ?

2013-02-01 Thread Rajesh Khan
at 6:42 AM, Gordon Sim wrote: > On 02/01/2013 01:30 PM, Rajesh Khan wrote: > >> I'll be running the same project in an hour. However with different >> capacity sizes as you suggested earlier (the sender C++ will have a >> capacity of 300 and the receiver C#

Re: Getting "[Broker] warning Exception on notification of dequeue" What does this mean ?

2013-02-01 Thread Rajesh Khan
t the receiver and reconnect). On Fri, Feb 1, 2013 at 6:23 AM, Gordon Sim wrote: > On 02/01/2013 01:13 PM, Rajesh Khan wrote: > >> Hi Gordon , thank you for your reply. Here is the result of qpid-config >> for >> the specific queue >> * >> LVQChart-5Min-2

Re: Getting "[Broker] warning Exception on notification of dequeue" What does this mean ?

2013-02-01 Thread Rajesh Khan
o get this exception message. It seems setting the queue size to 0 isn't helping. Any suggestions/ideas would definitely be appreciated and welcomed On Fri, Feb 1, 2013 at 1:59 AM, Gordon Sim wrote: > On 01/31/2013 06:39 PM, Rajesh Khan wrote: > >> Gordon , any suggestion

Re: Getting "[Broker] warning Exception on notification of dequeue" What does this mean ?

2013-01-31 Thread Rajesh Khan
qpid.last_value_queue_key=MChartSymbol --max-queue-size=0* On Thu, Jan 31, 2013 at 2:46 AM, Rajesh Khan wrote: > I am using qpid-0.18 > BTW now i am setting a max queue size of 0 and I am still getting the same > message. > Here is how i am specifying it: > > *python qpid-config add qu

Re: Cant understand the result of qpid-queue-stats

2013-01-31 Thread Rajesh Khan
I have emailed the results of both the commands to you. I ran them last night. On Thu, Jan 31, 2013 at 9:35 AM, Gordon Sim wrote: > On 01/31/2013 04:30 PM, Rajesh Khan wrote: > >> Yeah that was thecommand i used and that was a part of the result >> > > qpid-queue-stats

Re: Cant understand the result of qpid-queue-stats

2013-01-31 Thread Rajesh Khan
Yeah that was thecommand i used and that was a part of the result On Thu, Jan 31, 2013 at 9:23 AM, Gordon Sim wrote: > On 01/31/2013 10:13 AM, Rajesh Khan wrote: > >> I get the following result >> >> Queue Name Sec Depth

Cant understand the result of qpid-queue-stats

2013-01-31 Thread Rajesh Khan
I get the following result Queue Name Sec Depth Enq Rate Deq Rate LVQSomeQueue-5Min-1 9.7718446744073709544747 20.1625.48 Could an

Re: Getting "[Broker] warning Exception on notification of dequeue" What does this mean ?

2013-01-31 Thread Rajesh Khan
:40 AM, Gordon Sim wrote: > On 01/31/2013 09:22 AM, Rajesh Khan wrote: > >> Thank you for your reply. Out of curiosity what is the default que limit >> when it is created ? Does it vary or each system ? >> > > It is configurable via the --default-queue-limit option to

Re: Getting "[Broker] warning Exception on notification of dequeue" What does this mean ?

2013-01-31 Thread Rajesh Khan
Thank you for your reply. Out of curiosity what is the default que limit when it is created ? Does it vary or each system ? On Thu, Jan 31, 2013 at 2:21 AM, Gordon Sim wrote: > On 01/31/2013 09:10 AM, Rajesh Khan wrote: > >> I am still looking for an answer to this question ho

Re: Getting "[Broker] warning Exception on notification of dequeue" What does this mean ?

2013-01-31 Thread Rajesh Khan
these factors might be affecting the Broker ? On Thu, Jan 31, 2013 at 1:57 AM, Rajesh Khan wrote: > I am getting the following error in my broker. Although nothing is > crashing (at least so far) > > *2013-01-31 01:53:42 [Broker] warning Exception on notification of > dequeue for que

Getting "[Broker] warning Exception on notification of dequeue" What does this mean ?

2013-01-31 Thread Rajesh Khan
I am getting the following error in my broker. Although nothing is crashing (at least so far) *2013-01-31 01:53:42 [Broker] warning Exception on notification of dequeue for queue LVQTest-5Min-3: Flow limit count underflow on dequeue. Queue=LVQTest-5Min-3 (qpid\broker\QueueFlowLimit.cpp:184)* Any

Re: Getting : Framing Errror - Attempted Sizeunderflow on dequeue(699)

2013-01-30 Thread Rajesh Khan
Unexpected exception: Attempted size underflow on dequeue(698): size: max=104857600, current=0; count: unlimited; type=reject (qpid\broker\QueuePolicy.cpp:55) I am trying to figure out how i could resolve this issue. On Wed, Jan 30, 2013 at 1:44 PM, Rajesh Khan wrote: > I have also uploaded my logg

Re: Getting : Framing Errror - Attempted Sizeunderflow on dequeue(699)

2013-01-30 Thread Rajesh Khan
to create some reproducer program or collect some better > logs than what is above. :-( > > Regards > Jakub > > > On Wed, Jan 30, 2013 at 8:55 PM, Rajesh Khan >wrote: > > > Hi Gordon , just emailed you the log file at g...@redhat.com > > > > On

Re: Getting : Framing Errror - Attempted Sizeunderflow on dequeue(699)

2013-01-30 Thread Rajesh Khan
Hi Gordon , just emailed you the log file at g...@redhat.com On Wed, Jan 30, 2013 at 12:18 PM, Gordon Sim wrote: > On 01/30/2013 06:53 PM, Rajesh Khan wrote: > >> Hi I am getting this error : >> framing-error: Attempted size underflow on dequeue(698): size: >> max=104

Re: Getting : Framing Errror - Attempted Sizeunderflow on dequeue(699)

2013-01-30 Thread Rajesh Khan
could mail it to ? On Mon, Jan 28, 2013 at 10:09 AM, Gordon Sim wrote: > On 01/28/2013 05:03 PM, Rajesh Khan wrote: > >> Sure I could do that. Where will the log file be created ? I havent setup >> logging in my code >> > > You should be able to start qpidd with -

Re: Affect of closing a senders connection that has a count property ?

2013-01-29 Thread Rajesh Khan
What is the count property? Do you mean capacity? or available? I meant capacity On Tue, Jan 29, 2013 at 11:42 AM, Gordon Sim wrote: > On 01/29/2013 06:04 PM, Rajesh Khan wrote: > >> Hello I wanted to know what would the effect of closing a connection be if >> a sender had a

Re: How to batch Acknowledge messages

2013-01-29 Thread Rajesh Khan
Are we not suppose to call that ? On Tue, Jan 29, 2013 at 11:38 AM, Gordon Sim wrote: > On 01/29/2013 05:58 PM, Rajesh Khan wrote: > >> Because of the high throughput requirement of my application I have >> started >> to use the .count property in my C# Qpid Receiver for

Re: Getting : Framing Errror - Attempted Sizeunderflow on dequeue(699)

2013-01-28 Thread Rajesh Khan
n 28, 2013 at 10:09 AM, Gordon Sim wrote: > On 01/28/2013 05:03 PM, Rajesh Khan wrote: > >> Sure I could do that. Where will the log file be created ? I havent setup >> logging in my code >> > > You should be able to start qpidd with --log-to-file to &

Re: Getting : Framing Errror - Attempted Sizeunderflow on dequeue(699)

2013-01-28 Thread Rajesh Khan
Sure I could do that. Where will the log file be created ? I havent setup logging in my code On Mon, Jan 28, 2013 at 10:05 AM, Gordon Sim wrote: > On 01/28/2013 03:53 PM, Rajesh Khan wrote: > >> Hello , I currently have a LVQ which is constantly receiving messages a >> v

Getting : Framing Errror - Attempted Sizeunderflow on dequeue(699)

2013-01-28 Thread Rajesh Khan
Hello , I currently have a LVQ which is constantly receiving messages a very very high rate (about 3 messages every 2 milliseconds). After changing Queue type to LVQ I got the following error message Framing Errror -Attempted Sizeunderflow on dequeue(699). SizeMax=104857600 current 698 count:unlim

Re: Last Value Queue - Information Required

2012-12-31 Thread Rajesh Khan
he latest stock-symbol value will be > printed > $ qpid-receive -a "MyLVQ" --print-headers yes --print-content no -m 10 > Properties: {sn:1, stock-symbol:ORCL, stock-value:50, > ts:1356948468924902877, x-amqp-0-10.routing-key:MyLVQ} > > Properties: {sn:1, stock-symbol:MS

LVQ message in C# - question

2012-12-24 Thread Rajesh Khan
I am trying out a last value queue and I always seem to get just one value when I am actually sending two values (both with different values having the same header). It looks like I am not using it properly. The example in the manual is for python so its not really helping me Here is my code for t

Re: Creating qpid broker service in windows

2012-12-03 Thread Rajesh Khan
Figured it out Steve looks initially my PATH was pointing to a 32 bit boost library and I was trying to run the 64 bit QPIDD broker that I built. After changing the path of BOOST to 64-Bit I Got it up and running . Thanks for the help. On Mon, Dec 3, 2012 at 6:43 PM, Rajesh Khan wrote: > Ye

Re: Creating qpid broker service in windows

2012-12-03 Thread Rajesh Khan
ng immediately after. State 1 in the message is SERVICE_STOPPED. > > Can you run qpidd from the command line, not as a service? > > -Steve > > On 12/3/12 7:30 PM, "Rajesh Khan" wrote: > > >Here is what I did > >added the following to my SYSTEM PATH > &

Re: Creating qpid broker service in windows

2012-12-03 Thread Rajesh Khan
e the directory holding your qpid DLLs. Be > sure it's the system-wide PATH and not your user PATH. No other env > variables are required for Qpid to run. > > -Steve > > On 12/3/12 6:49 PM, "Rajesh Khan" wrote: > > >Hi Steve could you tell me the Environment va

Re: Creating qpid broker service in windows

2012-12-03 Thread Rajesh Khan
Hi Steve could you tell me the Environment variables required by qpidd ? On Mon, Dec 3, 2012 at 4:42 PM, Rajesh Khan wrote: > Thanks for the email . I just checked my path environment and there is no > entry that points to qpid directory. > are you suggesting that I enter the path t

Re: Creating qpid broker service in windows

2012-12-03 Thread Rajesh Khan
; I just tried it and it worked fine. > > My only thought is that your DLLs are not in the PATH where the service > process can find them. But that's a guess. > > -Steve > > On 12/3/12 4:22 PM, "Rajesh Khan" wrote: > > >I have been working on this for a

Re: Creating qpid broker service in windows

2012-12-03 Thread Rajesh Khan
on wrote: > Try starting the service from the Services component of the control panel > instead of from the command line. > > > -Original Message----- > > From: Rajesh Khan [mailto:rajeshkhan...@gmail.com] > > Sent: Friday, November 30, 2012 5:48 PM > > To: users

Re: Creating qpid broker service in windows

2012-11-30 Thread Rajesh Khan
No logs in the Application and service logs by qpidd On Fri, Nov 30, 2012 at 3:35 PM, Steve Huston wrote: > he system event log?

Re: Creating qpid broker service in windows

2012-11-30 Thread Rajesh Khan
in, the stock 0.18 source release won't handle the --arguments > correctly - they won't be passed to the service when it starts. But the > service should start. > > -Steve > > -Original Message- > > From: Rajesh Khan [mailto:rajeshkhan...@gmail.com] >

Re: Creating qpid broker service in windows

2012-11-30 Thread Rajesh Khan
windows\SCM.cpp:183) Its still not working On Fri, Nov 30, 2012 at 2:54 PM, Steve Huston wrote: > First qpidd --uninstall > > Then do the --install with "--auth=no" in quotes > > > > -Original Message- > > From: Rajesh Khan [mailto:rajeshkhan..

Re: Cannot run broker as a daemon

2012-11-30 Thread Rajesh Khan
I am trying to run the command qpidd install however the broker only starts and no service appears in services.msc any suggestions ? On Fri, Nov 30, 2012 at 2:18 PM, Rajesh Khan wrote: > I am using version 0.18 > > > On Fri, Nov 30, 2012 at 2:16 PM, Steve Huston wrote: > >&g

Re: Cannot run broker as a daemon

2012-11-30 Thread Rajesh Khan
Darryl's question > is important - what version? The command line passing feature works in the > Qpid 0.18 installer from Riverace.com and it works in the current > development stream. > > -Steve > > > -Original Message- > > From: Rajesh Khan [mailto:rajeshkh

Re: Cannot run broker as a daemon

2012-11-30 Thread Rajesh Khan
t; is to install the broker as a service and start the > service. Run qpidd --help to get the exact options. > > -Steve > > > -----Original Message- > > From: Rajesh Khan [mailto:rajeshkhan...@gmail.com] > > Sent: Friday, November 30, 2012 4:02 PM > > To: users

Cannot run broker as a daemon

2012-11-30 Thread Rajesh Khan
I am trying to run qpid broker as a daemon by following the instructions in the Manual. I am doing the following D:\...\src\Debug>qpidd --daemon 2012-11-30 13:58:17 [Broker] critical Unexpected error: Error in command line options: unknown option daemonUse --help to see valid options It seems --d

Re: Most optimum receiver - Prefetch how?

2012-11-29 Thread Rajesh Khan
Thanks for clearing that up On Thu, Nov 29, 2012 at 7:53 AM, Gordon Sim wrote: > On 11/29/2012 02:48 PM, Rajesh Khan wrote: > >> so should i send a session acknowledgment after processing every ten >> messages or after every message for optimum performance ? >> > &

Re: Most optimum receiver - Prefetch how?

2012-11-29 Thread Rajesh Khan
so should i send a session acknowledgment after processing every ten messages or after every message for optimum performance ? On Thu, Nov 29, 2012 at 7:28 AM, Gordon Sim wrote: > On 11/29/2012 01:30 PM, Rajesh Khan wrote: > >> Thank you for your email and making things a lot cl

Re: Most optimum receiver - Prefetch how?

2012-11-29 Thread Rajesh Khan
? On Thu, Nov 29, 2012 at 3:36 AM, Gordon Sim wrote: > On 11/28/2012 09:16 PM, Rajesh Khan wrote: > >> I have something like the following code in the receiver. I am currently >> dealing with 1000's of messages in perhaps less than 30 seconds. >> I read in the broker ma

Most optimum receiver - Prefetch how?

2012-11-28 Thread Rajesh Khan
I have something like the following code in the receiver. I am currently dealing with 1000's of messages in perhaps less than 30 seconds. I read in the broker manual that by default only one message is extracted by the receiver from the broker however using prefetch I could receive more than one me

How would you receive this C++ List in C#

2012-10-22 Thread Rajesh Khan
Hi , I have something like this in my C++ program qpid::types::Variant::Map content; content["keyA"] = "ValA"; content["KeyB"] = "ValB" qpid::types::Variant::List object; object.push_back(content); encode(object,message); sender_.send(message); Now in my C# I have so

Re: C# error when loading org.apache.qpid.messaging.dll

2012-10-19 Thread Rajesh Khan
esh? > > If not, it sounds like maybe the new DLL isn't in the PATH or with your > exe. If that's not it, you can use the depends tool (downloadable from > Microsoft if it's not included with your Visual Studio) to see which > dependencies are missing. > > -Stev

Re: C# error when loading org.apache.qpid.messaging.dll

2012-10-17 Thread Rajesh Khan
in 32 bit mode? > > On 10/17/12 5:05 PM, "Rajesh Khan" wrote: > > >I built my org.apache.qpid.messaging.dll in VS2010 64 bit mode. Now when I > >am adding it as a reference to my C# project x86. I get the following > >error. > >Any suggestions on how I co

Re: Building Org.Apache.Qpid.Messaging.dll for C#

2012-10-17 Thread Rajesh Khan
It seems that even after I have declared the QPID_BUILD_ROOT in my windows environment variable , my org.apache.qpid.messaging.sln cannot find the resourceorg.apache.qpid.messaging.rc ? On Wed, Oct 17, 2012 at 1:25 PM, Rajesh Khan wrote: > I only have BOOST_ROOT set in my environment varia

Re: Building Org.Apache.Qpid.Messaging.dll for C#

2012-10-17 Thread Rajesh Khan
." > D:\qpid\cpp\bindings\qpid\dotnet\msvc10\org.apache.qpid.messaging.sln > > > - Original Message - > > From: "Rajesh Khan" > > To: users@qpid.apache.org > > Sent: Wednesday, October 17, 2012 3:03:35 PM > > Subject: Re: Building Org.Apache.Qpid.

Re: Building Org.Apache.Qpid.Messaging.dll for C#

2012-10-17 Thread Rajesh Khan
inding works please see > https://cwiki.apache.org/qpid/c-messaging-client-net-binding-design-patterns.data/Dotnet-Binding-for-CPP-Messaging-DesignPatterns-1_2.odt > . > > -Chuck > > - Original Message - > > From: "Rajesh Khan" > > To: users@qpid.apache.o

Re: Sending objects to receivers

2012-10-16 Thread Rajesh Khan
ct 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 > > > > On Tue, Oct 16, 2012 at 10:44 AM, Andy Goldstein > > wrote: > > > >> C

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 1

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

2012-10-16 Thread Rajesh Khan
nt: Tuesday, October 16, 2012 7:35:45 AM > > Subject: Re: Linker Error when attempting to create an individual > separate new project > > > > On Mon, Oct 15, 2012 at 05:26:12PM -0600, Rajesh Khan wrote: > > > The examples and qpid compile and run without errors in visual >

Re: First "Hello World in C++" authentication failed.

2012-10-15 Thread Rajesh Khan
Yes it did thanks. On Mon, Oct 15, 2012 at 1:44 PM, Steve Huston wrote: > Oops, my bad - thank you for the correction. > Did it work? > > On 10/15/12 3:42 PM, "Rajesh Khan" wrote: > > >Steve thanks for your reply it was actually suppose to be > >D:\qp

Re: First "Hello World in C++" authentication failed.

2012-10-15 Thread Rajesh Khan
Steve thanks for your reply it was actually suppose to be D:\qpid-0.18\qpid-0.18\cpp\src\Debug>qpidd --auth=no On Mon, Oct 15, 2012 at 1:30 PM, Steve Huston wrote: > --no-auth > > On 10/15/12 3:26 PM, "Rajesh Khan" wrote: > > >I am attempting to run my firs

Re: Broker Qpidd.exe first time - error

2012-10-15 Thread Rajesh Khan
Thanks that worked On Mon, Oct 15, 2012 at 11:42 AM, Rajesh Khan wrote: > After Building QPID from source for the first time , I am attempting to > run the broker.Here is what I am doing > > The Directory in which broker was created in is at: > D:\qpid-0.18\qpid-0.18\cpp\src\Debug

  1   2   >