Re: How to post a message through http?

2007-06-19 Thread cppUser
Hi, Thanks for your reply. On solaris it compiles when I use the g++ (GNU) compiler. However our entire application is up and Running using the Sun's native CC 5.8 compiler. 1) The library compiled using g++ is not compatible with CC as there are loads of compatibility issues between the two com

How to receive messages concurrently from a queue?

2007-06-19 Thread Naresh Bhatia
I have a very simple Java program that creates 10 MessageListeners to receive JMS messages concurrently from a queue. The MessageListeners share the same JMS Connection, but create their own Session and MessageConsumer (I have also tried this with each MessageListener creating its own Connection).

is the broker holding off message dispatch?

2007-06-19 Thread hh_meta
1 embedded-broker started, and 1 producer, 1 consumer both connect to the broker. producer sends 1st message, consumer consumes right away; producer sends 2nd message, consumer doesn't get it; producer sends 3rd message, consumer consumes 2nd message; etc. etc. and it seems something is holding o

Re: Problems with RA under Geronimo MDB container

2007-06-19 Thread vineetc
Gaurav, the the ack is set to "auto-acknowledge". Another point i shld mention is the fact that this never happens when the EAR is already started before the sending of messages begins. Everything works perfectly then. It is only when the messages are already in store and the Recv. application i

Re: Problems with RA under Geronimo MDB container

2007-06-19 Thread Gaurav Hariani
I don't know anything about MDB's etc but my guess is you are not acknowledging messages. vineetc wrote: Hello All, I am trying to build a MDB based recv. application that will process messages delivered by AMQ RA. ENVIRONMENT Windows XP JDK 1.6.0_01 ActiveMQ 4.1.1 and the the RA provided by

Problems with RA under Geronimo MDB container

2007-06-19 Thread vineetc
Hello All, I am trying to build a MDB based recv. application that will process messages delivered by AMQ RA. ENVIRONMENT Windows XP JDK 1.6.0_01 ActiveMQ 4.1.1 and the the RA provided by the dist. Geronimo1.1.1 MySQL 5x I have set the "maxSessions" to 29 and "maxMessagesPerSession" to 900 on t

Re: definition of durable subscirbers

2007-06-19 Thread James Strachan
On 6/19/07, keneida <[EMAIL PROTECTED]> wrote: Is it possible to define durable subscribers within actiemq configuration? I don't think so no; though we welcome contributions if you fancy providing a patch... http://activemq.apache.org/contributing.html For now you can do this via JMX; or its

Re: Active MQ and ws-eventing

2007-06-19 Thread James Strachan
On 6/18/07, debstar <[EMAIL PROTECTED]> wrote: Hi ... I am looking for documentation about how to use ws-eventing within Active MQ .. Is this possible ? and where can I find some information please? We don't currently have a ws-eventing API yet, but it should be pretty easy to implement ws-ev

Re: Embed broker with Spring

2007-06-19 Thread James Strachan
This issue has been fixed in 4.1.2 which will hopefully be released soon. (Its to do with not being able to find the XSD on the internet). You could host the XSD inside your firewall somewhere for now as a workaround) On 6/19/07, Aymeric Alibert <[EMAIL PROTECTED]> wrote: I am trying to embed a

Re: Secure messaging?

2007-06-19 Thread Jack Britton
Yes, see http://activemq.apache.org/ssl-transport-reference.html On 6/19/07 7:02 AM, "pascals" <[EMAIL PROTECTED]> wrote: > > Hello, > > We need to exchange confidential information with ActiveMQ; Is it possible > to secure the communication between an ActiveMQ client and the broker? For > ins

Re: Problem with message groups

2007-06-19 Thread James Strachan
On 6/19/07, jcm231 <[EMAIL PROTECTED]> wrote: James.Strachan wrote: > > On 6/18/07, jcm231 <[EMAIL PROTECTED]> wrote: >> >> Hi! >> >> I am have a standalone ActiveMQ server and I am sending messages using a >> producer. The messages include the JMSXGroupID header with two different >> values:

Re: Secure messaging?

2007-06-19 Thread eta
http://activemq.apache.org/ssl-transport-reference.html pascals wrote: > > Hello, > > We need to exchange confidential information with ActiveMQ; Is it possible > to secure the communication between an ActiveMQ client and the broker? For > instance by using it over HTTPS? > > Thanks for any h

Re: Memory Usage With No Subcribers and No Messages

2007-06-19 Thread srasul
Hi Jim, my guess would be that the EnqueueCount is how many items were queued/waiting to be dispached, and it seems quite high. if this value goes up over time then there is your resource leak. some docs about activeMQ + JMX is at: http://activemq.apache.org/jmx.html my other guess would be tha

Server side memory leak on connection with NMS

2007-06-19 Thread Jim_Cross
Hi, Further to my earlier message, I realised I'd left out two vital bits of information: 1. I'm using NMS 2. Part of my test app is to have a consumer disconnect fully (close and dispose consumer, session, and connection) then reconnect A bit more investigation has revealed that if I don't star

Embed broker with Spring

2007-06-19 Thread Aymeric Alibert
I am trying to embed a broker in my Spring application. Configuration: Tomcat 5.5 ActiveMQ 4.1.1 Spring 2.1 Spring-bean 2.8 I tried both the XBean and Spring 2.0 examples from http://activemq.apache.org/how-do-i-embed-a-broker-inside-a-connection.html here . It works fine if I have a network c

Re: Memory Usage With No Subcribers and No Messages

2007-06-19 Thread Jim_Cross
Hi Saqib, Thanks for your reply. Unfortunately we're only using a single non-durable topic - no queues and no durable topics. Looking at the MBean for the topic after about an hour I see: DequeueCount: 472089 DispatchCount: 472225 EnqueueCount: 24139 Does this sound normal? And do you know whet

Secure messaging?

2007-06-19 Thread pascals
Hello, We need to exchange confidential information with ActiveMQ; Is it possible to secure the communication between an ActiveMQ client and the broker? For instance by using it over HTTPS? Thanks for any help Pascal -- View this message in context: http://www.nabble.com/Secure-messaging--tf3

Re: Memory Usage With No Subcribers and No Messages

2007-06-19 Thread srasul
Hi, I am no activeMQ expert... but... this might be the "fast-producer & slow-consumer" issue. If you use Queues, and there is fast producer and a slow consumer, you will eventually run out of memory. this is because JMS has guaranteed message delivery. meaning any message you send must be deliv

Consuming slows

2007-06-19 Thread tiger2214
Hi, i'm using amq with servicemix. I guess the use I make of amq is pretty normal : a provider provides messages to a queue and some (4 to 32) consumers consume those messages. First the consumers were quicker than the provider and the queue contained rarely more than one or two messages. i had n

Re: Memory Usage With No Subcribers and No Messages

2007-06-19 Thread Jim_Cross
So I tried the recommendation in another thread: And it ran with the 20 subscribers, 15 publishers, around 15 messages every 2 seconds for just over an hour before again running out of memory (see graph below). This is a serious problem for us, as it seems memory usage never se

Re: Problem with message groups

2007-06-19 Thread jcm231
James.Strachan wrote: > > On 6/18/07, jcm231 <[EMAIL PROTECTED]> wrote: >> >> Hi! >> >> I am have a standalone ActiveMQ server and I am sending messages using a >> producer. The messages include the JMSXGroupID header with two different >> values: "one" and "two". I launch two Consumer objects,

definition of durable subscirbers

2007-06-19 Thread keneida
Is it possible to define durable subscribers within actiemq configuration? -- View this message in context: http://www.nabble.com/definition-of-durable-subscirbers-tf3945242s2354.html#a11191383 Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Memory Usage With No Subcribers and No Messages

2007-06-19 Thread Jim_Cross
Hi, I'm using ActiveMQ 4.1.1 on a Linux box, standard configuration plus a single additional topic. If I start ActiveMQ, and don't start any subscribers or producers (so no subscriptions and no messages sent to the topic), and take a look at JConsole, I see the attached memory usage - every minut

Re: NMS: Get list of topics

2007-06-19 Thread Oleg Deribas
Hello, James Strachan said the following on 07.06.2007 9:17: Though we welcome patches :) http://activemq.apache.org/contributing.html BTW there are two issues with trivial patches still open: https://issues.apache.org/activemq/browse/AMQNET-44 https://issues.apache.org/activemq/browse/AM