Re: Connection Error to Apache

2012-09-25 Thread maximus
ients want to pump in data into the same queue on the server. Regards, Sujith From: Sujith Menon/OAT/CKP To: "tabish...@gmail.com [via ActiveMQ]" Date: 09/25/2012 07:26 PM Subject: Re: Connection Error to Apache Thanks Tim. Got it working on desktop sample but when

Re: Connection Error to Apache

2012-09-25 Thread maximus
g (IConnection connection = factory.CreateConnection()) It throws up and NMSConnectionException "Error Connecting to ..." Looks like the socket could not be created. Any ideas? regards, Sujith From: "tabish...@gmail.com [via ActiveMQ]" To: maximus Date: 09/25/2012 04:06 PM Subject:

Re: Connection Error to Apache

2012-09-25 Thread Timothy Bish
request.Properties["myHeader"] = "Cheddar"; > > producer.Send(request); > > // Consume a message > //ITextMessage message = consumer.Receive() as ITextMessage; > //if (message == null) > { &g

Re: Connection Error to Apache

2012-09-24 Thread maximus
NMSMessageId); // Console.WriteLine("Received message with text: " + message.Text); } } } } Regards, Sujith From: "tabish...@gmail.com [via ActiveMQ]" To: maximus Date: 09/24/2012 07:14 PM Subject:Re: Connection Erro

Re: Connection Error to Apache

2012-09-24 Thread maximus
" To: maximus Date: 09/24/2012 07:14 PM Subject: Re: Connection Error to Apache On Fri, 2012-09-21 at 02:59 -0700, sujithmenono wrote: > Hi, > > I'm trying to write sample code for client/server communication using > Apache.NMS.Stomp. > > Uri connectu

Re: Connection Error to Apache

2012-09-24 Thread Timothy Bish
On Fri, 2012-09-21 at 02:59 -0700, sujithmenono wrote: > Hi, > > I'm trying to write sample code for client/server communication using > Apache.NMS.Stomp. > > Uri connecturi = new Uri("tcp://0.0.0.0:61616"); > > Console.WriteLine("About to connect to " + connecturi); > > // NOTE: ensure the nm

Re: Connection Error to Apache

2012-09-24 Thread maximus
This is the error that i see. error = {"The output char buffer is too small to contain the decoded characters, encoding 'Unicode (UTF-8)' fallback 'System.Text.DecoderReplacementFallback'.\r\nParameter name: chars"} -- View this message in context: http://activemq.2283324.n4.nabble.com/Connect

Re: Connection Error to Apache

2012-09-23 Thread maximus
Hi, I'm able to create a connection now but im unable to create the consumer. I get a ConnectionClosedException in "IMessageConsumer consumer = session.CreateConsumer(destination)" Attaching the stack trace for reference Apache.NMS.Stomp.dll!Apache.NMS.Stomp.Session.Close() Line 278 C