Re: Any implementations of ITrace available in Apache.NMS

2008-11-19 Thread Vadim Chekan
http://vchekan.blogspot.com/2008/08/tracing-in-nms-it-easy-to-turn-protocol.html Vadim. On Tue, Nov 18, 2008 at 10:16 AM, mkeenan <[EMAIL PROTECTED]> wrote: > > I'm still working on what I think is a thread issue in NMS. I see there are > Tracer statements in the code, but it doesn't look like t

Re: Negtive MessageCountAwaitingAcknowledge & DispatchedQueueSize on JConsol

2008-11-19 Thread Vadim Chekan
>From my experience, if you write a test case and create a JIRA issue, then there are good chances it'll be fixed. Vadim. On Thu, Nov 13, 2008 at 11:55 PM, WhiteSock <[EMAIL PROTECTED]> wrote: > > When I use JConsole to monitor ActiveMQ5.1, I find that the > > MessageCountAwaitingAcknowledge and

Re: NMS: Dispose usage

2008-10-30 Thread Vadim Chekan
at it and see what's going on. > > In the meantime, can you reproduce an error with the code as it is > currently written? > > > On 10/28/08, Vadim Chekan <[EMAIL PROTECTED]> wrote: >> I noticed that all over NMS code the Dispose(bool) is implemented so >> t

Re: thread deadlock issue in NMS

2008-10-28 Thread Vadim Chekan
Just curious, are all of your sessions, consumers, etc wrapped in "using" clause? Vadim. On Sun, Oct 26, 2008 at 7:03 PM, mkeenan <[EMAIL PROTECTED]> wrote: > > I'm using NMS 1.1 and I *think* there is a thread deadlock issue. I don't > have sufficient details at the moment, but I'm in the proces

NMS: Dispose usage

2008-10-28 Thread Vadim Chekan
I noticed that all over NMS code the Dispose(bool) is implemented so that it will call Close() regardless either it is called from destructor or Dispose(). As result, if it is called from destructor, an object will call its member disposeOf() when there is no guarantee that this member still exist.

Re: CLIENT_ACKNOWLEDGE mode for a session misunderstanding?

2008-10-28 Thread Vadim Chekan
Sorry, I think I got it wrong. If message remain intact when consumer disconnect then CLIENT_ACKNOWLEDGE is honored. On Tue, Oct 28, 2008 at 7:13 PM, Vadim Chekan <[EMAIL PROTECTED]> wrote: > James, > > Are you saying that CLIENT_ACKNOWLEDGE option can not be trusted? > > V

Re: CLIENT_ACKNOWLEDGE mode for a session misunderstanding?

2008-10-28 Thread Vadim Chekan
James, Are you saying that CLIENT_ACKNOWLEDGE option can not be trusted? Vadim. On Tue, Oct 28, 2008 at 10:44 AM, James Strachan <[EMAIL PROTECTED]> wrote: > 2008/10/28 Eugeny N Dzhurinsky <[EMAIL PROTECTED]>: >> Hello! >> >> I am facing some strange issue with acknowledge mode in ActiveMQ. Afte

Reverse queue walking

2008-10-07 Thread Vadim Chekan
Hi All, If I want to receive the queue in reverse order, does it mean that I've designed something wrong? :) I have a transaction in my application which consist of up to 100K little actions. I want to implement rollback functionality. My initial idea was to create a queue where I send a "compensa

Re: Can not logging from Spark to embedded xmpp server

2008-09-17 Thread Vadim Chekan
No, I'm in the dark like you :) On Wed, Sep 17, 2008 at 2:09 AM, NabiL <[EMAIL PROTECTED]> wrote: > > Thanks fo your reply. > > Can you plz give more explanations. > > Thanks in advance. > > > vchekan wrote: >> >> Same problem here. Perhaps documentation should be updated? >> >> On Mon, Sep 15, 20

How to run maven test

2008-09-17 Thread Vadim Chekan
What is the command to run certain unit test with maven? -- >From RFC 2631: In ASN.1, EXPLICIT tagging is implicit unless IMPLICIT is explicitly specified

Re: Negative number of messages

2008-09-17 Thread Vadim Chekan
Filed https://issues.apache.org/activemq/browse/AMQ-1940 with code to reproduce. Vadim. On Fri, Sep 12, 2008 at 10:07 AM, Vadim Chekan <[EMAIL PROTECTED]> wrote: > I tried to google either it is known problem but was not able to find > my exact scenario. > So let me know if it is

Re: Can not logging from Spark to embedded xmpp server

2008-09-15 Thread Vadim Chekan
Same problem here. Perhaps documentation should be updated? On Mon, Sep 15, 2008 at 2:16 AM, NabiL <[EMAIL PROTECTED]> wrote: > What the login/password, i should specify ? > -- >From RFC 2631: In ASN.1, EXPLICIT tagging is implicit unless IMPLICIT is explicitly specified

Re: Can't delete a queue

2008-09-13 Thread Vadim Chekan
is "purge" and "delete" when delete means "delete from memory" but leaves a queue in persistence storage. Vadim. On Fri, Sep 12, 2008 at 8:49 PM, Vadim Chekan <[EMAIL PROTECTED]> wrote: > I can't believe it is just me. > I've just downloaded act

Re: Can't delete a queue

2008-09-12 Thread Vadim Chekan
'aaa' is back. Could anybody confirm that it is/isn't reproducible please? Vadim. On Tue, Sep 9, 2008 at 4:37 PM, Vadim Chekan <[EMAIL PROTECTED]> wrote: > No, and there are several of them which once created can not be deleted. > I can reproduce it under linux and w

Negative number of messages

2008-09-12 Thread Vadim Chekan
I tried to google either it is known problem but was not able to find my exact scenario. So let me know if it is known issue or I should enter jira issue. When you "purge" queue from web admin console, it zeroes queue message counter. But if you have an active consumer at that time which pre-fetch

Re: Can't delete a queue

2008-09-09 Thread Vadim Chekan
e new details. Meanwhile if you can hint where to set breakpoints I'll be able to debug it. Vadim. On Tue, Sep 9, 2008 at 1:47 AM, James Strachan <[EMAIL PROTECTED]> wrote: > The queue isn't mentioned in the activemq.xml file right? > > 2008/9/8 Vadim Chekan <[EMAIL PROTE

Can't delete a queue

2008-09-08 Thread Vadim Chekan
Hi all, If I delete a queue, it is back after I restart ActiveMQ. I tried deleting from admin web console and from jconsole. The same result Activemq-5.1.0 Pesistence configuration is from the standard config file: Any ideas what could be wrong? -- >From RFC 2631:

Re: ActiveMQ + NMS = Stalled Message Queues

2008-08-29 Thread Vadim Chekan
Waiting in Reader from binary stream: that's expected. Another thread in dispatcher is normal too. I think you need to turn on debugging on the client side. See my article on how to do it: http://vchekan.blogspot.com/2008/08/tracing-in-nms-it-easy-to-turn-protocol.html Vadim. On Fri, Aug 29, 200

Re: Exceptions in ActiveMQ console

2008-08-29 Thread Vadim Chekan
I had something similar recently. My exception though was at the client side. What this exception says is that some operation was requested by the client which involves connection (as in JMS Connection) which is not currently registered with activemq. So I'd take look first at the client and profil

Re: Slow performance of NMS api compared to Java

2008-08-28 Thread Vadim Chekan
Jim, > "transport.TcpNoDelayEnabled=true" seems perfect to me. Vadim. On Thu, Aug 28, 2008 at 11:15 AM, semog <[EMAIL PROTECTED]> wrote: > > I took a look at your changes, and I think they are very good. However, I > want to discuss some changes I made to them to accommodate some of the > const

Re: NMS: OpenWire version

2008-08-28 Thread Vadim Chekan
Created ticket: AMQNET-110 Vadim. On Thu, Aug 28, 2008 at 5:22 AM, Jim Gomes <[EMAIL PROTECTED]> wrote: > Wow, good question. This needs to be looked at and verified. > > On Wed, Aug 27, 2008 at 11:12 PM, Vadim Chekan <[EMAIL PROTECTED]>wrote: > >> Apparently Wi

Re: Slow performance of NMS api compared to Java

2008-08-27 Thread Vadim Chekan
Would it be property of connection or transport? I thought connection means JMS connection and it has nothing to do with TCP. Vadim. On Wed, Aug 27, 2008 at 10:33 PM, Jim Gomes <[EMAIL PROTECTED]> wrote: > Since I couldn't look at your code because of the license grant issue, > I looked in to wha

NMS: OpenWire version

2008-08-27 Thread Vadim Chekan
Apparently WireFormatNegotiator checks only magic bytes during the format negotiation and does not check the version. So NMS client V2 talks to ActiveMQ V3. Is it a bug? 394 [-1211205856] INFO Apache.NMS.Tracer (null) - SENDING: WireFormatInfo[ Magic=System.Byte[] Version=2 MarshalledProperties={C

Re: NMS and message groups

2008-08-26 Thread Vadim Chekan
Actually why GroupID is not in IMessage? On Tue, Aug 26, 2008 at 6:22 AM, James Strachan <[EMAIL PROTECTED]> wrote: > 2008/8/26 Marko111 <[EMAIL PROTECTED]>: >> >> Thanks, >> >> I have solved my problem with ActiveMQMessage object. > > Great thanks for the heads up! > > >> I will agree we should r

NMS: how to get list of messages?

2008-08-26 Thread Vadim Chekan
Hi all, I use c# client (NMS) and want to iterate through list of messages without removing them from the queue. Is it possible? Also is it possible to get list of queues using NMS library? -- >From RFC 2631: In ASN.1, EXPLICIT tagging is implicit unless IMPLICIT is explicitly specified