Re: Message Persistence And Re-Delievery

2007-04-24 Thread James Strachan
We don't currently support redelivery of messages that have been consumed yet. One alternative could be to use virtual destinations so copy all messages to a separate replay queue which at any point in time you can browse & redeliver. On 4/25/07, rachit goel <[EMAIL PROTECTED]> wrote: Hi all,

Message Persistence And Re-Delievery

2007-04-24 Thread rachit goel
Hi all, I am using acivemq-4.1.1 with built-in derby . I want to store all messages irrespective of the fact that they r delievered or not. Also i want to make it re-deliever all the messages that are in the DB -- persistent store untill they r explicitly deleted. Is it possible t do such conf

Re: Authentication pattern with JMS?

2007-04-24 Thread James Strachan
It'd be much eaiser to just create a connnection per user/client and use the built in JMS authentication (ConnectionFactory.createConnection()) http://activemq.apache.org/security.html Then you'd get the benefit of being able to use fine grained destination based authorisation as well as things l

Re: Clustered Broker Support

2007-04-24 Thread James Strachan
BTW often when folks say 'clustered broker' they want the master/slave feature (multiple physical brokers acting as a single logical broker with failover) http://activemq.apache.org/masterslave.html 'Networks of Brokers' are typically used for store and forward of messages across a network ht

Authentication pattern with JMS?

2007-04-24 Thread rousseau
I'm looking to use ActiveMQ as a transport to my applications API as an alternative to using raw sockets. As I'm only using JMS as a transport layer, I don't think it's appropriate to use the ActiveMQ security, but I still need users to be authenticated. I had a look at the response/request patte

EmbeddedDataSource and derby.lo

2007-04-24 Thread Jim Alateras
This is not an activemq specific question. Does anyone know how to configure where to put the 'derby.log' file when running the embedded data source? The default location is the current directory. cheers

Slave Failed due to Unsupported Method

2007-04-24 Thread xbranko
Broker Env: ActiveMQ 4.1.1, Java 1.5.0_04 I'm trying to set up pure master slave configuration, as per instructions. Master and slave are running on different machines. Messages get propagated to the slave, but not the fact that they were consumed. Instead for each consumed message in master log

Setting ClientId in ConnectionFactory

2007-04-24 Thread wallace
I am integration jboss4.0.5 with activemq4.0. In the ra.xml, I set a value for the Clientid of ActiveMQResourceAdapter. Inside the jboss contain, I run the code like InitialContext = new InitialContext(); TopicConnectionFactory connectionFactory = (javax.jms.TopicConnectionFac

Re: negative queue counts

2007-04-24 Thread Bruce Snyder
On 4/24/07, Dave Carlson <[EMAIL PROTECTED]> wrote: I am testing AMQ 4.2-SNAPSHOT.jar dated 3-27-2007 at 12:55PM and am often seeing negative queue counts. I am using non-persistent messageing. Why should this happen? I think this is an issue that is being worked out in the trunk (i.e., the sn

Re: Clustered Broker Support

2007-04-24 Thread Bruce Snyder
On 4/24/07, Scott Frazier <[EMAIL PROTECTED]> wrote: Hi, We're in the process of evaluating open-source message brokers for an upcoming project. Can you give me a read on how mature/stable the support for clustered brokers is? Also, can someone send me a list of firms that are using Act

negative queue counts

2007-04-24 Thread Dave Carlson
I am testing AMQ 4.2-SNAPSHOT.jar dated 3-27-2007 at 12:55PM and am often seeing negative queue counts. I am using non-persistent messageing. Why should this happen? -- View this message in context: http://www.nabble.com/negative-queue-counts-tf3641408s2354.html#a10169823 Sent from the ActiveMQ

Re: OutOfMemoryError using 4.1.1

2007-04-24 Thread Christopher G. Stach II
Justin C. van Vorst wrote: > Please don't hijack my thread. Now I'm not sure whether Christopher's > comment in any way applies to my problem. If you run out of threads, it could be for a few reasons. You could have lingering threads in the JVM somewhere (use jstack, kill -QUIT, or ctrl-\ to get

Re: OutOfMemoryError using 4.1.1

2007-04-24 Thread James Strachan
It might be you are just running out of threads; maybe your setting of file descriptors per process is too low? On 4/23/07, Justin C. van Vorst <[EMAIL PROTECTED]> wrote: On our production server this weekend, activemq-4.1.1 hit a java.lang.OutOfMemoryError exception and then proceeded to stop

Re: OutOfMemoryError using 4.1.1

2007-04-24 Thread Justin C. van Vorst
Please don't hijack my thread. Now I'm not sure whether Christopher's comment in any way applies to my problem. avin98 wrote: > > I have hit an OOMError without using persistent messages, and even if AMQ > is inactive for a period of about a day or so. > > [4/22/07 11:17:44:727 PDT] [WARN]

Re: RuntimeStoreException

2007-04-24 Thread Dave Carlson
Does anyone have any insight into this error? I am sporadically seeing this error, and can't figure out what it is that is causing it. Any help would be appreciated. Thanks, Dave Carlson Dave Carlson wrote: > > Also, I noticed it is looking for data-queue-data--1 (notice TWO dashes at > the

Re: Message groups, failover, recovery problem

2007-04-24 Thread James Strachan
On 4/24/07, prylance <[EMAIL PROTECTED]> wrote: I don't want to load balance across brokers; I want sticky load balancing across consumers, with failover. I have a network-of-brokers. The message groups documentation (http://activemq.apache.org/message-groups.html) says I can use that feature to

Re: Message groups, failover, recovery problem

2007-04-24 Thread prylance
I don't want to load balance across brokers; I want sticky load balancing across consumers, with failover. I have a network-of-brokers. The message groups documentation (http://activemq.apache.org/message-groups.html) says I can use that feature to get "high availability / auto-failover to other c

Re: ActiveMQ-CPP 2.0 - acknowledge and ObjectMessages

2007-04-24 Thread Timothy Bish
Great, thanks. On Tue, 2007-04-24 at 06:41 -0700, bcash wrote: > Thanks, see AMQCPP-109 > > > tabish121 wrote: > > > > Please write a Jira issue and we will address this. > > > > On Tue, 2007-04-24 at 06:11 -0700, bcash wrote: > >> I have a java ActiveMQ broker that marshalls various types of

Re: ActiveMQ-CPP 2.0 - acknowledge and ObjectMessages

2007-04-24 Thread bcash
Thanks, see AMQCPP-109 tabish121 wrote: > > Please write a Jira issue and we will address this. > > On Tue, 2007-04-24 at 06:11 -0700, bcash wrote: >> I have a java ActiveMQ broker that marshalls various types of messages, >> including ObjectMessages. >> >> I have a C++ client that wants to c

Re: Problem with Temporary Queues

2007-04-24 Thread James Strachan
Your code looks fine so not sure the issue. The server side isn't using transacted mode or anything? BTW this might be useful... http://cwiki.apache.org/ACTIVEMQ/how-do-i-send-messages-to-different-destinations-from-a-single-messageproducer.html On 4/24/07, Simon Wistow <[EMAIL PROTECTED]> wrote

Problem with Temporary Queues

2007-04-24 Thread Simon Wistow
I seem to have run into some problems with my code and I'm trying to track down if it's a regression in my code or a change in ActiveMQ that I didn't notice. I'm attempting to send a message to a temporary queue and then wait for a reply using something like Destination destination;

Re: ActiveMQ-CPP 2.0 - acknowledge and ObjectMessages

2007-04-24 Thread Timothy Bish
Please write a Jira issue and we will address this. On Tue, 2007-04-24 at 06:11 -0700, bcash wrote: > I have a java ActiveMQ broker that marshalls various types of messages, > including ObjectMessages. > > I have a C++ client that wants to consume TextMessages and simply ignore the > ObjectMessag

ActiveMQ-CPP 2.0 - acknowledge and ObjectMessages

2007-04-24 Thread bcash
I have a java ActiveMQ broker that marshalls various types of messages, including ObjectMessages. I have a C++ client that wants to consume TextMessages and simply ignore the ObjectMessages. The C++ app receives null messages for each ObjectMessage which isn't a problem. However, when using Open

Re: 3.1 broker OutofMemoryError : unable to create new native thread

2007-04-24 Thread Ale Sarco
Replying myself: Setting wireFormat.maxInactivityDuration=0 in the producers, solved the problem of connections not being closed. However, I think this is a bug, because the connection is not closed due to an exception being thrown by something not related to the connection itself. I didn't see t

FW: Need Help

2007-04-24 Thread Jignesh ShaH
Hi I am using Apache ActiveMQ 4.1.1 Eclipse 3.2.2 Windows XP + SP2 Java SE 5 Java EE 5 for JMS .jar 1GB RAM and 2.80 GHz Intel Pentium 4 I am trying to send a comma separated string from a Client to Server through socket and then from server I am using JMS thru ActiveMQ and trying

Can a MDB listen at queue

2007-04-24 Thread shwetketu
Hi I am new with Active MQ. I am trying to run the given sample code on ActiveMQ site. I am fine with SenderEJB code..I am able to put the message on queue. But i am not able to receive the message using MDB... Can any one tell me how can i get the message using MDB ??? Shwetketu Rai -

Clustered Broker Support

2007-04-24 Thread Scott Frazier
Hi, We're in the process of evaluating open-source message brokers for an upcoming project. Can you give me a read on how mature/stable the support for clustered brokers is? Also, can someone send me a list of firms that are using ActiveMQ in production installations? I know that some firm

Re: Connection pooling

2007-04-24 Thread James Strachan
On 4/24/07, Daniel Gradecak <[EMAIL PROTECTED]> wrote: > BTW thats really intended for folks who are using the JMS API directly > rather than JmsTemplate > So for better performances it is better to use the API directly ? Yes > No you can't. JmsTemplate creates/closes all the JMS resources

Re: Connection pooling

2007-04-24 Thread Daniel Gradecak
BTW thats really intended for folks who are using the JMS API directly rather than JmsTemplate So for better performances it is better to use the API directly ? No you can't. JmsTemplate creates/closes all the JMS resources each time so you're only hope is to use only sending along with Pool

Re: Connection pooling

2007-04-24 Thread James Strachan
On 4/24/07, Daniel Gradecak <[EMAIL PROTECTED]> wrote: I wonder if if this configuration does the pooling correctly? ${jms.brokerUrl} ${jms.transaction.timeout} ${jms.brokerUrl} ${jms.pool.maxConnections} ${jms.recei

Re: Connection pooling

2007-04-24 Thread Daniel Gradecak
I wonder if if this configuration does the pooling correctly? class="org.apache.activemq.ra.ActiveMQResourceAdapter"> name="serverUrl">${jms.brokerUrl} class="org.jencks.factory.TransactionManagerFactoryBean"> name="defaultTransactionTimeoutSeconds">${jms.transaction.timeou

Re: Configure Simple Authentication Plugin in apache-activemq-4.1.1

2007-04-24 Thread TheKK
Hi James, I followed the steps mentioned in the below url and it works fine now. https://bugzilla.spamassassin.org/activemq/browse/AMQ-982 https://bugzilla.spamassassin.org/activemq/browse/AMQ-982 Thanks James. Wbr, KK James.Strachan wrote: > > BTW with the wrong credentials its the createCo

Re: Connection pooling

2007-04-24 Thread James Strachan
On 4/24/07, Peter Steil <[EMAIL PROTECTED]> wrote: Hi, I am using release 4.1.1 and I am wondering whether or not TopicConnections are pooled automatically somehow. No. I have quite a lot TopicPublisher who publish to different topics. Should I keep one TopicConnection open and use it for

Connection pooling

2007-04-24 Thread Peter Steil
Hi, I am using release 4.1.1 and I am wondering whether or not TopicConnections are pooled automatically somehow. I have quite a lot TopicPublisher who publish to different topics. Should I keep one TopicConnection open and use it for all TopicSessions or should I open and close the connections

Re: Configure Simple Authentication Plugin in apache-activemq-4.1.1

2007-04-24 Thread James Strachan
BTW with the wrong credentials its the createConnection() which should fail On 4/24/07, James Strachan <[EMAIL PROTECTED]> wrote: Could you show us the complete activemq.xml and the activemq log please? Are you running the broker using the activemq script? On 4/19/07, TheKK <[EMAIL PROTECTED]>

Re: Configure Simple Authentication Plugin in apache-activemq-4.1.1

2007-04-24 Thread James Strachan
Could you show us the complete activemq.xml and the activemq log please? Are you running the broker using the activemq script? On 4/19/07, TheKK <[EMAIL PROTECTED]> wrote: Hi All, I am basically trying to authenticate users while creating connection using the Simple Authentication Plugin. ac

Re: Trace Level Logging For Lost Messages

2007-04-24 Thread James Strachan
On 4/19/07, greenbean <[EMAIL PROTECTED]> wrote: We are using Activemq 4.1.1 with Stomp. We can reproduce a condition where it appears messages are lost. However, we would like to trace the internal flow of messages to see exactly what is happening. With a standalone Activemq instance running

Re: Parallel processors on a single topic/queue

2007-04-24 Thread James Strachan
On 4/19/07, Pete Schwamb <[EMAIL PROTECTED]> wrote: I'm using activemessaging to connect to a stomp interface on an ActiveMQ broker, and having trouble processing all of the messages that are coming over my subscription to a topic. The messages take a fair amount of cpu as they must be unzipped

Re: ClassNotFoundException: org.apache.activemq.web.controller.PurgeDestination

2007-04-24 Thread James Strachan
On 4/19/07, Bai Shen <[EMAIL PROTECTED]> wrote: I'm trying to run the Web Console and whenever I run "mvn jetty:run", I get the error in the subject. So the web console won't start. I've searched all of the src for this class and can't seem to find it. Any suggestions? This is running 4.1.1 s

Re: broker configuration

2007-04-24 Thread James Strachan
On 4/20/07, Jim Alateras <[EMAIL PROTECTED]> wrote: Can someone point me to documentation on configuring the persitence aspects of a broker? When i specify the persistent=true attribute in the broker element it creates the database in the default directory. what element/attribute do i use to loca

Re: Message groups, failover, recovery problem

2007-04-24 Thread James Strachan
Message Groups are a feature used within a single broker to implement sticky load balancing across consumers. They are not intented as a way to load balance across brokers. My recommendation would be to use one of the Master/Slave approaches with Message Groups. On 4/20/07, prylance <[EMAIL PROT

Re: Can I modify msgs in the queue?

2007-04-24 Thread James Strachan
On 4/21/07, Lucas Blue <[EMAIL PROTECTED]> wrote: Hi. Suppose I want to modify a Message, once it is already in the queue, without removing it. (Perhaps I want to change an int property that was set on it initially, or perhaps I want to modify the msg itself.) Is this possible? Is there any