Starting with Active MQ

2008-09-17 Thread MonaTakle
We are doing a project in java using activemq as the broker. Can anyone please guide us how do we start with activemq? -- View this message in context: http://www.nabble.com/Starting-with-Active-MQ-tp19525933p19525933.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Starting with Active MQ

2008-09-17 Thread Bruce Snyder
On Wed, Sep 17, 2008 at 12:11 AM, MonaTakle [EMAIL PROTECTED] wrote: We are doing a project in java using activemq as the broker. Can anyone please guide us how do we start with activemq? If you're not familiar with JMS, then there's some information here:

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 known issue or I

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: How to run maven test

2008-09-17 Thread Dejan Bosanac
Vadim Chekan wrote: What is the command to run certain unit test with maven? http://maven.apache.org/plugins/maven-surefire-plugin/examples/single-test.html -- Dejan Bosanac http://www.ttmsolutions.com - get a free ActiveMQ user guide ActiveMQ in Action - http://www.manning.com/snyder/

Re: in version 5.2 cannot fund class - org.apache.activemq.pool.PooledConnectionFactory

2008-09-17 Thread Bruce Snyder
On Wed, Sep 17, 2008 at 2:03 AM, 任增刚 [EMAIL PROTECTED] wrote: hi! friends, as title. i want to know if this class was removed .thanks! Nope, it's still available in the activemq-pool project:

Re: Starting with Active MQ

2008-09-17 Thread James Strachan
2008/9/17 MonaTakle [EMAIL PROTECTED]: We are doing a project in java using activemq as the broker. Can anyone please guide us how do we start with activemq? If you're not really experienced with JMS, I'd recommend you skip learning that (its kinda complex!) and just hide the middleware APIs

Re: Difference setJMSExpiration setTimeToLive

2008-09-17 Thread James Strachan
Agreed - its always worth checking the javadoc for methods on the Message interface as it usually describes which properties are set by a provider and which are not. http://java.sun.com/j2ee/1.4/docs/api/javax/jms/Message.html#setJMSExpiration(long) BTW its kinda odd that the JMS API would

Re: unable to build active-mq cpp 2.1.3 on linux

2008-09-17 Thread gali_ka
I checked the file. It does exist. What else could it be? Do I have to build the active-mq in a special directory, like /usr ? Do I need something special for my PATH? Timothy Bish wrote: Generally this occurs because the files did not get extracted from the tar file. First thing to do is

Re: How to Secure Webconsole ?

2008-09-17 Thread NabiL
still doesn't work !! :-( plz see the log file : http://www.nabble.com/file/p19527771/log log http://www.nabble.com/file/p19527771/activemq.xml activemq.xml Thanks in advance. bsnyder wrote: On Tue, Sep 16, 2008 at 5:27 PM, NabiL [EMAIL PROTECTED] wrote: Concerninf first step (1.

Re: Can not logging from Spark to embedded xmpp server

2008-09-17 Thread NabiL
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, 2008 at 2:16 AM, NabiL [EMAIL PROTECTED] wrote: What the login/password, i should specify ? -- From RFC 2631:

Re: testNG test harness for Camel, sending and receiving messages

2008-09-17 Thread James Strachan
2008/9/16 Mick Knutson [EMAIL PROTECTED]: I am trying to setup camel within Maven to start my camel context via the plugin groupIdorg.apache.camel/groupId artifactIdcamel-maven-plugin/artifactId version1.4.0/version /plugin

Re: New message timeout design question

2008-09-17 Thread James Strachan
2008/9/16 Mick Knutson [EMAIL PROTECTED]: 1 thought I had looking through the patterns is using an aggregator. Even though there is only 1 message going out. Then, I could passivate the AggregatorCollection. Then add a correclationId to the outgoing message. Now I would expect the new message

Re: unable to build active-mq cpp 2.1.3 on linux

2008-09-17 Thread Timothy Bish
I don't know of any reason why you would be getting this error. Have you ensured that you have all the prerequisite libraries and tools installed that called out in the Readme.txt? Do the autogen.sh and configure scripts run without errors or warnings? Regards Tim. On Wed, 2008-09-17 at 01:57

AjaxServlet is currently unavailable

2008-09-17 Thread piotr_rezmer
Hello, I want to add ajax connectivity to my existing application. I added activemq-web-5.1.0.jar to \lib directory. First I wanted to check amq.js file availability on the web server. So after entering URL like: http://localhost:8080/myWebApp/amq/amq.js I receive: HTTP Status 503 - Servlet

Active MQ Message Persistence

2008-09-17 Thread slimrednano
Hi I am a novice user of Active MQ and Apache Camel. Currently I am constructing an application that using Apache Camel to Route Message to Active MQ. I encounter problems in persisting messages to MYSQL DB. I am wondering why the message is not persisted into the Database. However the Topic

Re: AjaxServlet is currently unavailable

2008-09-17 Thread Dejan Bosanac
Hi, It seems like your AjaxServlet did not initialize for some reason (you should be seeing exception in a log file or console, but I don't know how your logging system is configured). It looks to me that you're missing some dependencies and have classpath issues. For example, you need at least

Re: AjaxServlet is currently unavailable

2008-09-17 Thread piotr_rezmer
piotr_rezmer wrote: Hello, I want to add ajax connectivity to my existing application. I added activemq-web-5.1.0.jar to \lib directory. First I wanted to check amq.js file availability on the web server. So after entering URL like: http://localhost:8080/myWebApp/amq/amq.js I

Re: Out Of Memory Error while running TopicPublisher/TopicListener

2008-09-17 Thread Badri
Thanks Rob for info. Does the tag advisoryForSlowConsumers be used in policyEntry? I could see 2 tags for advisory - advisorySupport sendAdvisoryIfNoConsumers in the activemq-core-5.2.xsd. I just referred to activemq-core-5.2-SNAPSHOT.xsd did not find tag advisoryForSlowConsumers. Not sure if

Re: Stomp and numeric properties in message selectors

2008-09-17 Thread RubyStompUser
I am having the same problem. HOW can the numeric JMS selectors (, , BETWEEN) be used with STOMP? They are needed. -Marc Simon Wistow wrote: I recently spent a while debugging some problems I was having. The solution turned out to be that in my Java sender I was doing something like

Active MQ over HTTP

2008-09-17 Thread Stu J
Hello, I'm trying to get ActiveMQ 5 working using HTTP rather than TCP. I have added the following to the activemq.xml configuration file: transportConnectors ... transportConnector name=http uri=http://localhost:8062/ /transportConnectors I am also attempting to modify the example files

Re: Out Of Memory Error while running TopicPublisher/TopicListener

2008-09-17 Thread Rob Davies
er - we need to update the xsd ;) 5.2 has not been released yet - Gary Tully who was doing the release is on vacation for a two weeks - but I think we'll need a new RC cheers, Rob On 17 Sep 2008, at 15:51, Badri wrote: Thanks Rob for info. Does the tag advisoryForSlowConsumers be used

Which comes first, NetworkConnector or ManagementContext?

2008-09-17 Thread Thomas R. Corbin
I've read that you need to create the NetworkConnector before anything else, and it seems true that you need a NetworkConnector before the ManagementContext will work. What seems to be happening is that the NetworkConnector uses a ManagementContext, but because it isn't one that I built for

Are there workarounds for STOMP numeric selectors?

2008-09-17 Thread RubyStompUser
As far as I can tell, it is impossible to use the JMS numerical selectors (, , 'BETWEEN', etc) via STOMP, probably because string values are not being converted to numeric values for the comparisons as they would in actual SQL. Has anyone ever found a workaround for this? Some way for forcing a

Discovering queues programmatically and dequeuing messages off of them

2008-09-17 Thread kpalania
I have a need to discover queues programmatically and dequeue messages off of them. In other words, I cannot make configuration changes to handle new JMS destinations and/or add new instances of the same listener. I basically need a way to have a process that dynamically discovers destinations

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, 2008 at 2:16 AM,

Redelivering messages inconsistency

2008-09-17 Thread Andres Rangel
Hi We have been working on with ActiveMQ on a custom content based router. We first try to use Camel, but since the routes changed very often (the routing instructions) then we decided to implement it using standard jms code ,and deploying it in an embedded broker. The Content Based Router

RE: Redelivering messages inconsistency

2008-09-17 Thread Andres Rangel
I found the problem. The problem is in resources. Does anybody know where can I find a good documentation on how to configure the activemq.xml file? I have looked in the documentation but is confusing. Anyways the changes I made are: I had in my activemq.xml file the following properties:

RE: ActiveMQ Configuration for Production

2008-09-17 Thread Andres Rangel
If you are not using the camel middleware , I will take out the entire camel context from the configuration file itself camelcontext ... /camelcontext Also the /demo, and fileserver application, I will take them out I am also looking for some doc for the activemq.xml config options. If you

Re: testNG test harness for Camel, sending and receiving messages

2008-09-17 Thread Mick Knutson
I have created a base class extending AbstractTestNGSpringContextTests as you mentioned. I actually did the same to support bdunit. But there are a few things, related to camel that I am just not getting yet. * What does the camel-maven-plugin doing that my base class will not by initializing

Re: Redelivering messages inconsistency

2008-09-17 Thread Rob Davies
Hi Andres, what you are experiencing is a classic 'timing issue' - it seems that there are some properties on the original message that are being overwritten when you send it again. I'm not certain if these are application properties (yours) or ActiveMQ ones (ours) without looking at an