Re: Message not removed from queue

2009-05-12 Thread Bryan Murphy
You haven't show all the applicable code. You've selected a "client acknowledge" session, but you don't show the code where you are actually receiving the message. Are you acknowledging the message once you've received it? Also, why are you committing the session here? If you want to use transa

Re: NMS SSL Support

2009-04-30 Thread Bryan Murphy
On Thu, Apr 30, 2009 at 2:30 PM, kevinlane wrote: > > I need to connect to a SSL secured ActiveMQ broker with .NET.  Has SSL > support been added to NMS yet? > > Thanks, > > Kevin I recently switched from using the NMS drivers to using the Java ActiveMQ drivers via IKVM and this has solved nearly

NMS Connection Settings

2009-03-30 Thread Bryan Murphy
Hey guys, I'm back on our ActiveMQ connection problems (again!). I'm deep diving into the code, and trying to understand what is going on. Our message queues get stuck, sometimes it takes a couple days, but inevitably it happens forcing a restart of the server and all services that connect to th

Re: Transactional Send Messages (NMS)

2009-02-04 Thread Bryan Murphy
On Tue, Feb 3, 2009 at 11:47 AM, Jim Gomes wrote: > That sounds like a bug. My understanding of how sessions work is if you > have set the AcknowledgementMode.Transactional, none of the messages that > you send to producers created on that session will be visible to any > consumers until the Comm

Re: Transactional Send Messages (NMS)

2009-02-03 Thread Bryan Murphy
u provide some sample > code showing the problem? > > Thanks, > Jim > > On Tue, Feb 3, 2009 at 8:56 AM, Bryan Murphy wrote: > >> Essentially two phase commit. We keep running into the problem where >> our message are handled before the producer can commit it's >&

Re: Transactional Send Messages (NMS)

2009-02-03 Thread Bryan Murphy
articipating inside a transaction. Are you > talking about implementing a two-phase commit extended transaction > operation? Or are you talking about using the transaction acknowledgment > mode that is part of NMS? > > - Jim > > On Mon, Dec 29, 2008 at 3:02 PM, Bryan Murphy w

Transactional Send Messages (NMS)

2008-12-29 Thread Bryan Murphy
Is there a way I can have the sending of messages to a message queue participate inside a transaction while using C# and NMS? Thanks, Bryan

Re: How to create .NET dll of ActiveMQ with IKVM

2008-11-21 Thread Bryan Murphy
On Thu, Nov 20, 2008 at 11:18 AM, user939393 <[EMAIL PROTECTED]> wrote: > > I have and it works great. > > This command will create the dll that you need. > ikvmc.exe -target:library -out:activemq-client.dll "C:\Program > Files\Apache\apache-activemq-5.1.0\activemq-all-5.1.0.jar" > > Your project w

Nms Reconnect

2008-11-19 Thread Bryan Murphy
Hey guys, I'm still having trouble with the reliability of connections to our message bus server when using NMS. Our ActiveMQ server dies with with OutOfMemory exceptions about once per week. At least until 5.2 comes out, I'd like to automate a nightly restart of the ActiveMQ server, and this lea

Admin Interface Sorting

2008-10-22 Thread Bryan Murphy
Is there a way I can have the administration interface automatically sort the queues by name when I go to the queues page without having to click on the name column? Thanks, Bryan

Re: Discuss: strong naming of NMS assemblies

2008-09-15 Thread Bryan Murphy
Why can't you just provide both? I've never really seen why this is such a big issue. If you provide both strong named and non-strong named assemblies, then you make both crowds happy. Bryan On Mon, Sep 15, 2008 at 3:47 PM, Mark Pollack <[EMAIL PROTECTED] > wrote: > > Hi, > > In order to put as

Re: ActiveMQ+NMS+TCP Connection Problems

2008-09-11 Thread Bryan Murphy
time? I wonder what > could have caused that error. I take it that this is not the same error > that you were getting previously? > > On Thu, Sep 11, 2008 at 7:46 AM, Bryan Murphy <[EMAIL PROTECTED]> > wrote: > > > It didn't survive the night. It dumped this sta

Re: ActiveMQ+NMS+TCP Connection Problems

2008-09-11 Thread Bryan Murphy
> Yeah, it won't handle network outages. That's where failover comes in > (scheduled for 1.1). However, this should keep any firewalls or routers > from aggressively disconnecting the sockets. > > On Wed, Sep 10, 2008 at 3:15 PM, Bryan Murphy <[EMAIL PROTECTED]> > wr

Re: ActiveMQ+NMS+TCP Connection Problems

2008-09-10 Thread Bryan Murphy
right direction!! :) Bryan On Wed, Sep 10, 2008 at 2:32 PM, Bryan Murphy <[EMAIL PROTECTED]> wrote: > Cool! I've updated updated my local NMS library and am currently running a > test. I'll let you know in a few hours how it turns out. > Thanks, > Bryan > > On

Re: ActiveMQ+NMS+TCP Connection Problems

2008-09-10 Thread Bryan Murphy
Cool! I've updated updated my local NMS library and am currently running a test. I'll let you know in a few hours how it turns out. Thanks, Bryan On Wed, Sep 10, 2008 at 12:48 AM, Jim Gomes <[EMAIL PROTECTED]> wrote: > FYI, the NMS trunk now has the keep alive support implemented. You can > tu

Re: ActiveMQ+NMS+TCP Connection Problems

2008-09-09 Thread Bryan Murphy
erience and I have > > been able to keep connections alive for a very long time without errors, > > both with high- and low-activity, even going over what my infrastructure > > team has told me is a WAN connection. > > > > Best, > > Jim > > > > On Tue

Re: ActiveMQ+NMS+TCP Connection Problems

2008-09-09 Thread Bryan Murphy
Thanks for the info. I suspected that's what the timeout meant, but you never really know until you ask.. Anyway, we finally solved our issue. We setup two instances of ActiveMQ in the two data centers to forward messages back and forth between each other. This is working much better for us. It

Re: Scalability of 'Networks of Brokers'

2008-09-05 Thread Bryan Murphy
Sounds like a nightmare to me. Maybe I don't understand what you're trying to accomplish, but I think something like Hadoop would be a better fit for this kind of problem. Bryan On Fri, Sep 5, 2008 at 12:10 PM, Martin_Cornelius < [EMAIL PROTECTED]> wrote: > > Hi all, > > i am currently evaluati

ActiveMQ+NMS+TCP Connection Problems

2008-09-04 Thread Bryan Murphy
Hey Guys, We're still having problems consuming messages from an ActiveMQ service via Apache.NMS. We've fixed a few bugs in the past week, and we're left with one outstanding issue where we have one of our consumers in a different data-center than the message server. It appears as if our TCP conn

Re: ActiveMQ + NMS = Stalled Message Queues

2008-08-29 Thread Bryan Murphy
he 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, 2008 at 8:01 AM, Bryan Murphy <[EMAIL PROTECTED]> > wrote: > > More information... > > T

Re: ActiveMQ + NMS = Stalled Message Queues

2008-08-29 Thread Bryan Murphy
decided to stop sending messages to my consumer. Bryan On Fri, Aug 29, 2008 at 9:40 AM, Bryan Murphy <[EMAIL PROTECTED]> wrote: > I changed my consumers to use client-acknowledge and immediately > acknowledge the message upon receipt. My handler does the following: > > void Han

Re: ActiveMQ + NMS = Stalled Message Queues

2008-08-29 Thread Bryan Murphy
usly wrong. I'm at a loss what to do next. Thanks, Bryan On Thu, Aug 28, 2008 at 9:01 PM, Bryan Murphy <[EMAIL PROTECTED]> wrote: > I read more about calling acknowledge, and as far as I can tell, because I > was using transactional acknowledgement as well as session commit

Re: ActiveMQ + NMS = Stalled Message Queues

2008-08-28 Thread Bryan Murphy
order. Once again, I'll post back here with the results of these changes. If you notice any flaw in my reasoning, please do tell me. :) Thanks, Bryan On Thu, Aug 28, 2008 at 4:30 PM, Bryan Murphy <[EMAIL PROTECTED]> wrote: > Hi Jim, > > We're currently using transa

Re: ActiveMQ + NMS = Stalled Message Queues

2008-08-28 Thread Bryan Murphy
Hi Jim, We're currently using transactional messages. What we do is the following: - create connection factory - create session (acknowledgement mode = transactional) - create consumer - bind handler to consumer.Listener in the handler we do the following: - handle message - grab reference to

ActiveMQ + NMS = Stalled Message Queues

2008-08-28 Thread Bryan Murphy
Hey Guys, I'm new to ActiveMQ and am running into a problem that has me stumped. We're using NMS to communicate with an ActiveMQ message broker. After a random period of time our consumers stop receiving messages. Our producers do not seem to have any difficulty delivering messages. You can view