Re: ActiveMQ and SMX4

2008-08-26 Thread James Strachan
2008/8/26 Guillaume Nodet <[EMAIL PROTECTED]>: > ServiceMix distribution includes ActiveMQ and Camel, while the > ActiveMQ distribution includes Camel. > The ServiceMix Kernel is an enhanced OSGi based runtime that does not > include the JBI layer, ActiveMQ or Camel, but they can be very easily > d

Re: How and Where to set asyncSend attribute ?

2008-08-26 Thread Srini.Jill
Hi Gary , Thank You for the quick response. I have changed the property in src/main/resources/producer-conf/AMQ-Cons-5-1-queue.properties and could able to run the test . i could observe a increase in the through put of 100 with this option set . How can i set the option in a standalone server

ActiveMQ-CPP Version 2.2.1 RC1

2008-08-26 Thread Timothy Bish
Hey everyone, It's official ... ActiveMQ-CPP v2.2.1 now has a release candidate, RC1. We've also found and fixed numerous bugs along the way. I've created a download page here: http://activemq.apache.org/cms/activemq-cpp-221-release.html ... Feel free to give it a test drive! The more eyes we hav

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

Re: DefaultMessageListenerContainer and 5.1

2008-08-26 Thread MichaelShaw
I am experiencing a similar issue. When a consumer of a queue fails to acknowledge() a message, getting a queuebrowser instance and calling getEnumeration() is causing all the messages that are unacknowledged to be redelivered. This is a distinct change in behavior from 4.1.1 to 5.1.0. In 4.1.1,

Re: Compile of ActiveMQ.NMS.ActiveMQ fails under Windows XP

2008-08-26 Thread aschrum
Hi Jim, I'll be brief in the future. Here's the latest error message: BUILD SUCCEEDED Total time: 19.6 seconds. Not bad! :-) Thanks for your help in getting this to compile. If I can be of assistance in the future, please let me know. Compiles and scripted testing are things I can assist with

Re: Compile of ActiveMQ.NMS.ActiveMQ fails under Windows XP

2008-08-26 Thread semog
Hi Allen, Thanks for the feedback. I checked in changes that will fix that compiler error. Please let me know if you have any other issues. Although, perhaps you can just copy/paste the relevant error message instead of the entire build output. Scrolling down that far is very hard to do on my

Re: Stomp/ActiveMQ issue: doUnmarshal - Unknown data type: 99

2008-08-26 Thread robvoyer
By using a very new version of PHP Stomp client, I get slightly further but not much. Here is the URL for resolving the first issue (thanks Michael): http://groups.google.com/group/stompcli-dev/browse_thread/thread/5d6cd3b06bbebb7a Here is the error now shown by the stomp client: Fatal error:

Re: Compile of ActiveMQ.NMS.ActiveMQ fails under Windows XP

2008-08-26 Thread semog
Hi, I reorganized the folders to have framework specific versions of the nUnit assemblies and updated the nant scripts to reference the appropriate version. Try updating to the latest, and you should be able to successfully compile. Thanks, Jim aschrum wrote: > > This may be related to recen

Re: Securing the web console impossible?

2008-08-26 Thread criggster
Try either using the OBF format in your realm.properties in bold below or use BASIC authentication (instead of DIGEST) criggster "DIGEST and MD5/Crypt do not play well together." wiseguysby wrote: > > Hi bro, > > I've just following like below, but not success, when i've trying login > alw

Compile of ActiveMQ.NMS.ActiveMQ fails under Windows XP

2008-08-26 Thread aschrum
This may be related to recent issue: https://issues.apache.org/activemq/browse/AMQNET-71 I just checked out latest version from Subversion of ActiveMQ.NMS.ActiveMQ. However, it will not compile. Please see the build log below. If I go into the vendor ActiveMQ.NMS directory and try to "nant" from

RE: Installation with VS2005

2008-08-26 Thread Powers, Matthew
Ignore this message - looks like I had created a CRL project. -Original Message- From: Powers, Matthew [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 26, 2008 11:54 AM To: users@activemq.apache.org Subject: RE: Installation with VS2005 I tried looking at this and got the most recent bui

Re: Dynamic/Programmatic message bridge/routes?

2008-08-26 Thread ColinStefani
James, Excellent, this gives us a good starting point and we'll certainly check out the ServiceMix scenario. Appreciate the feedback. Colin James.Strachan wrote: > > Hi Colin > > 2008/8/25 ColinStefani <[EMAIL PROTECTED]>: >> >> First, I am not the dev here so grain of salt if I'm overlo

RE: Installation with VS2005

2008-08-26 Thread Powers, Matthew
I tried looking at this and got the most recent build to compile...but I had problems finding app_pools.h which is included in the APR release. So I installed that, built it, and added the include directory to my VS project. Now I get a lot of unresolved symbols similar to this... Error 180

Re: NMSXGroupSeq and ActiveMQMessage

2008-08-26 Thread James Strachan
2008/8/26 Marko111 <[EMAIL PROTECTED]>: > > Hi, > > I am using NMSXGroupSeq property of AcitveMQMessage object to terminate > group sequence. When set 0 this property does not close the group instead it > continues to send messages to the same consumer! > It seem that non-zero value changes the co

Re: How and Where to set asyncSend attribute ?

2008-08-26 Thread Gary Tully
Hi Jill, check out the readme.html (https://svn.apache.org/repos/asf/activemq/trunk/activemq-perftest/readme.html) in the activemq-perftest directory. It describes how to configure the broker, consumer and producer portions of the test harness. You would be looking at something like: mvn active

Re: ActiveMQ and SMX4

2008-08-26 Thread Guillaume Nodet
ServiceMix distribution includes ActiveMQ and Camel, while the ActiveMQ distribution includes Camel. The ServiceMix Kernel is an enhanced OSGi based runtime that does not include the JBI layer, ActiveMQ or Camel, but they can be very easily deployed on to it. On Tue, Aug 26, 2008 at 5:01 PM, Power

Re: ActiveMQ and SMX4

2008-08-26 Thread Guillaume Nodet
On Tue, Aug 26, 2008 at 4:48 PM, Yari Marchetti <[EMAIL PROTECTED]> wrote: > Hello, > we are planning to use ActiveMQ in a production environment, > but we need to be able to change configuration while the broker > is running. > I took a look at ServiceMix 4 and it seems to suit perfectly to our >

Stomp/ActiveMQ issue: doUnmarshal - Unknown data type: 99

2008-08-26 Thread robvoyer
I am hoping someone has seen this error before or knows what it is about. I am trying to connect to ActiveMQ from PHP: Fatal error: Uncaught exception 'Stomp_Exception' with message 'Connection not acknowledged' in /var/www/vservers/robv/www/htdocs/Stomp/Stomp.php:208 The activemq logs show thi

NMSXGroupSeq and ActiveMQMessage

2008-08-26 Thread Marko111
Hi, I am using NMSXGroupSeq property of AcitveMQMessage object to terminate group sequence. When set 0 this property does not close the group instead it continues to send messages to the same consumer! It seem that non-zero value changes the consumer but it changes it event for message containin

RE: ActiveMQ and SMX4

2008-08-26 Thread Powers, Matthew
I thought that ServiceMix ran off of AtvieMQ and was included in the release. -Original Message- From: Yari Marchetti [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 26, 2008 10:49 AM To: users@activemq.apache.org Subject: ActiveMQ and SMX4 Hello, we are planning to use ActiveMQ in a pr

ActiveMQ and SMX4

2008-08-26 Thread Yari Marchetti
Hello, we are planning to use ActiveMQ in a production environment, but we need to be able to change configuration while the broker is running. I took a look at ServiceMix 4 and it seems to suit perfectly to our needs (moreover it implements other interesting things), allowing ActiveMQ to reload i

DLQ per subscriber?

2008-08-26 Thread dirk.mahler
Hi, i've got ActiveMQ 4.1.1 running and a topic with two durable subscribers deployed. Furthermore I added some configuration parameters to provide redelivery in case of problems while consuming messages from the topic - all this works fine. Next step was adding a dead letter queue strategy. I w

Re: Problem with Selector

2008-08-26 Thread Jecsiac
>It seems to be provider specific. Many JMS providers will treat >"Receives the next message if one is immediately available" literally >- i.e. not to wait for a request/response with the broker to check if >there is a message available for processing. This is what ActiveMQ >does and a number of o

Destination configuration for MDB

2008-08-26 Thread hpkeck
Hi, I have just started using message-driven beans with ActiveMQ 5.1 listening to a topic. I integrated it in JBoss 4.2.1 as described on the ActiveMQ home page, and it works fine. But as far as I understood, you have to specify the physical name of the topic in the ejb-jar.xml activation-config,

Re: How and Where to set asyncSend attribute ?

2008-08-26 Thread James Strachan
2008/8/26 Srini.Jill <[EMAIL PROTECTED]>: > > Hi , > > I am doing the bench mark testing for the Active MQ5.1 . > > I am using a standalone ActiveMQ server and consumer and producer clients > from the Performance plugin of the activeMQ. > > While surfing the documentation , i figured out that sett

Re: NMS and message groups

2008-08-26 Thread James Strachan
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 raise JIRA for this. done https://issues.apache.org/activemq/browse/AMQNET-108 -- James --- http://macstrac.blogspot.com/

Re: NMS and message groups

2008-08-26 Thread Marko111
Thanks, I have solved my problem with ActiveMQMessage object. I will agree we should raise JIRA for this. James.Strachan wrote: > > Am wondering if this is a bug. There's a definite property on the > ActiveMQMessage.NMSXGroupID. > > e.g. > > ActiveMQMessage msg = ... > msg.NMSXGroupID = "G

Re: Problem with Selector

2008-08-26 Thread James Strachan
It seems to be provider specific. Many JMS providers will treat "Receives the next message if one is immediately available" literally - i.e. not to wait for a request/response with the broker to check if there is a message available for processing. This is what ActiveMQ does and a number of other J

Re: Problem with Selector

2008-08-26 Thread Jecsiac
>receiveNoWait() is not meant to wait for a message to arrive. In >ActiveMQ creating a receiver does not block until messages are >received. >i.e. its not really JMS compliant to use receiveNoWait() and not >expect nulls to come back if you've not really left much time for the >JMS provider to ac

Re: Installation with VS2005

2008-08-26 Thread Timothy Bish
Look at the project settings we use in our own VC project files to build and link the example program. Regards Tim. On Mon, 2008-08-25 at 15:43 -0400, Powers, Matthew wrote: > I am a newbie to CMS and Visual Studio and was seeing if there was a > guide to getting this up and running. I downloa

How and Where to set asyncSend attribute ?

2008-08-26 Thread Srini.Jill
Hi , I am doing the bench mark testing for the Active MQ5.1 . I am using a standalone ActiveMQ server and consumer and producer clients from the Performance plugin of the activeMQ. While surfing the documentation , i figured out that setting the useAsyncSend=true will boost the performance .

Re: LIFO (not FIFO) queues

2008-08-26 Thread Artur Siekielski
James.Strachan wrote: > > 2008/8/25 Artur Siekielski <[EMAIL PROTECTED]>: >> >> From what I've understood the Camel Resequencer is not a solution for us, >> because it collects items for some time (defined by timeout) and then >> sends >> them to output queue. We need a real priority queue where

Re: Message announcement and routing

2008-08-26 Thread Eugeny N Dzhurinsky
On Tue, Aug 26, 2008 at 10:35:31AM +0100, James Strachan wrote: > > It's a good point, however this isn't the case we are worrying about for > > now, > > we are just trying to prove the concept. If the consumer did not send the > > acknowledgement, will the broker not route another messages to tha

Re: Message announcement and routing

2008-08-26 Thread James Strachan
2008/8/26 Eugene Dzhurinsky <[EMAIL PROTECTED]>: > On Tue, Aug 26, 2008 at 09:17:09AM +0100, James Strachan wrote: >> How many commands and sets of messages are required? Only normally >> with the the worker pattern you send all the required commands to be >> executed by a consumer in a single mess

Slow performance of NMS api compared to Java

2008-08-26 Thread Stefan Gmeiner
We are evaluating the NMS-API to connect a C# app to our ActiveMQ broker. For this we wrote a simple client which sends a request and waits for a reply (Client --> Broker --> Server --> Broker --> Client). The client/server C#-app runs in a single process with two different connections to the b

Re: Problem with Selector

2008-08-26 Thread Jecsiac
Thanks a lot at first. No, I'm not trying to do request/response over JMS. I use receiveNoWait() because I need to return immediately when there's no message in the queue. I'll try receive(some time) later. However, it is so regret that different JMS providers behave so differently... My codes go

Re: Message announcement and routing

2008-08-26 Thread Eugene Dzhurinsky
On Tue, Aug 26, 2008 at 09:17:09AM +0100, James Strachan wrote: > How many commands and sets of messages are required? Only normally > with the the worker pattern you send all the required commands to be > executed by a consumer in a single message. In fact the consumer may issue various commands

Re: Message announcement and routing

2008-08-26 Thread James Strachan
2008/8/25 Eugeny N Dzhurinsky <[EMAIL PROTECTED]>: > Hello! > > Can somebody please take a look at my question below and let me know is it > possible to achieve such behavior with ActiveMQ? > > I need to distribute the system which is doing heavy calculation for clients. > This means the client sen

Re: LIFO (not FIFO) queues

2008-08-26 Thread James Strachan
2008/8/25 Artur Siekielski <[EMAIL PROTECTED]>: > > From what I've understood the Camel Resequencer is not a solution for us, > because it collects items for some time (defined by timeout) and then sends > them to output queue. We need a real priority queue where even old messages > can be reordere

Re: Problem with Selector

2008-08-26 Thread James Strachan
BTW are you trying to do request/response over JMS - is that why you're numbering your messages and trying to receive a specific one back? http://activemq.apache.org/how-should-i-implement-request-response-with-jms.html 2008/8/26 James Strachan <[EMAIL PROTECTED]>: > 2008/8/26 Jecsiac <[EMAIL PRO

Re: Problem with Selector

2008-08-26 Thread James Strachan
2008/8/26 Jecsiac <[EMAIL PROTECTED]>: > > Hi, I have a problem when using selector in ActiveMQ 5.1.0. > > I set a property named 'SomeId' on every Message sent to the queue, and > every Message has a different value of that property (the value is just the > order of the message sent to the queue,

Re: NMS and message groups

2008-08-26 Thread James Strachan
Am wondering if this is a bug. There's a definite property on the ActiveMQMessage.NMSXGroupID. e.g. ActiveMQMessage msg = ... msg.NMSXGroupID = "Group1"; Maybe the properties in IMessage.Properties are not correctly copied across to the right property? Taking a look at MessagePropertyHelper - i

Expired messages never disappear

2008-08-26 Thread Carlos Quiroz
Hi I've been fighting with this issue for a few days but so far I can't really understand well what is happening. In my scenario we have clients that create durable subscriptions to topics. To those subscriptions messages are sent every now and then. The messages are not persistent and have an ex

Problem with Selector

2008-08-26 Thread Jecsiac
Hi, I have a problem when using selector in ActiveMQ 5.1.0. I set a property named 'SomeId' on every Message sent to the queue, and every Message has a different value of that property (the value is just the order of the message sent to the queue, for example, for the first message sent to the q

Re: Dynamic/Programmatic message bridge/routes?

2008-08-26 Thread James Strachan
Hi Colin 2008/8/25 ColinStefani <[EMAIL PROTECTED]>: > > First, I am not the dev here so grain of salt if I'm overlooking some obvious > feature of AMQ, but am looking for guidance/info on the concept of > routing/bridging messages around between topics and queues within the broker > (not between

Re: Consuming from VirtualTopic Throws Subscription Exception

2008-08-26 Thread alanmc
Hey Guys, A simple "this is a known issue we're working on" or a "We no longer support Virtual Topics" would be greatly appreciated. alanmc wrote: > > Looks like there's an open JIRA for this issue: > https://issues.apache.org/activemq/browse/AMQ-1763 but that hasn't been > touched since it wa