Message not removed from queue

2009-05-11 Thread Ankit Vernekar
Hi, I am using the following code to read from the queue try { conFac=new ActiveMQConnectionFactory(); con=conFac.createConnection(); session=con.createSession(true, Session.CLIENT_ACKNOWLEDGE); Destination d

Re: How to connect to my running broker

2009-05-11 Thread Andreas Gies
Hi there, there is no difference having an embedded broker. In your spring configuration you need to enable JMX and then you can connect using the JMX API. For more information refer to this page: http://activemq.apache.org/jmx.html Best regards Andreas On May 11, 2009, at 9:23 PM, moacsjr

ActiveMQ-CPP Version 3.0 RC1

2009-05-11 Thread Timothy Bish
Hey everyone, It's official ... ActiveMQ-CPP v3.0 now has a second release candidate, RC1. Stomp is now back and we've fixed some nasty little threading bugs too. The 3.0 code has been in the works awhile and a lot of the code has been rewritten to improve performance and increase stability. Thi

How to connect to my running broker

2009-05-11 Thread moacsjr
Hi, I have an embeded broker running with my app using spring. Now I whant to connect on this active broker from my app to get some informations. How to do this? -- View this message in context: http://www.nabble.com/How-to-connect-to-my-running-broker-tp23489802p23489802.html Sent from the Ac

Browse doesn't return all messages

2009-05-11 Thread moacsjr
Hi, I'm trying to browse all messages on a queue and I'm using jms template but the result has only 200 messages and I have 5000 messages on the queue. What I have to do to return/read all messages on the queue??? please help. -- View this message in context: http://www.nabble.com/Browse-doesn

Buffer size when transferring bigger files using Blob Messages

2009-05-11 Thread manua
Hi All, I am trying to transfer large files (around 100Mb) using ActiveMQ, as blob messages. For doing so, I am setting the buffer size equal to file length, as blobTransferPolicy.setBufferSize((int)inputFile.length(); My doubt is where this buffer is actually created and with large files being

Re: BrokerStoppedException, during embedded broker restart

2009-05-11 Thread Dejan Bosanac
Hi Ruben, usually you'll have to initialize your broker again after it has been stopped. I just implemented the "forced" restart feature for 5.3. Take a look at http://cwiki.apache.org/confluence/display/ACTIVEMQ/How+do+I+restart+embedded+brokerand https://issues.apache.org/activemq/browse/AMQ-22

Re: Structured Data Accross Languages

2009-05-11 Thread Jose Luna
- Original Message > From: jamesst > To: users@activemq.apache.org > Sent: Monday, May 11, 2009 8:34:27 AM > Subject: Structured Data Accross Languages > > > Does ActiveMQ support sending structured data (Data Objects) across languages > or is additional 3rd party/ self developed soft

Structured Data Accross Languages

2009-05-11 Thread jamesst
Does ActiveMQ support sending structured data (Data Objects) across languages or is additional 3rd party/ self developed software required. This is not java to java so Serialisation in addition, XML is not suitable due to performance. Does anyone currently using ActiveMQ have any insight or ideas

Re: ActiveMQ native API problem : Broker.getDestinations

2009-05-11 Thread ffrenchm
Could you tell me if it's needed to raise a JIRA for this problem ? Thanks ffrenchm wrote: > > Hello, > > I noticed that the method Broker.getDestinations doesn't return temporary > destination. I would like to know if it's a normal behavior. According to > the Javadoc I would say no : > >

Re: Visual Studio 2005 project to 2003 project

2009-05-11 Thread Stanzat
Thank you very much for your quick and clear response. I was trying to make it run on 2003 :) As you said, I have to upgrade to 2005. Regards, Cihan Timothy Bish wrote: > > On Mon, 2009-05-11 at 03:05 -0700, Stanzat wrote: >> Hi, I have to use Visual Studio .NET 2003 for my project but Activemq

Re: Visual Studio 2005 project to 2003 project

2009-05-11 Thread Timothy Bish
On Mon, 2009-05-11 at 03:05 -0700, Stanzat wrote: > Hi, I have to use Visual Studio .NET 2003 for my project but Activemq cpp > examples and codes are distributed in Visual Studio 2005 project. So i can't > open them with 2003. Says your version is 7.0, you need 8.0 to open this > file. > Is there

Failover backOffMultiplier

2009-05-11 Thread Diego Rodríguez Martín
Hi, I am using ActiveMQ 5.2.0 in a windows box. I have been trying to set backOffMultiplier parameter when using failover high level protocol through a ActiveMQConnectionFactory. When I start the connection factory it complains about illegal parameter backOffMultiplier. I have been

Visual Studio 2005 project to 2003 project

2009-05-11 Thread Stanzat
Hi, I have to use Visual Studio .NET 2003 for my project but Activemq cpp examples and codes are distributed in Visual Studio 2005 project. So i can't open them with 2003. Says your version is 7.0, you need 8.0 to open this file. Is there a simple way to convert them into 2003 project? Thanks --

Re: too many open files

2009-05-11 Thread Arjen van der Meijden
Well, that is really mostly the default config with some small differences. - I completely commented out the "destinationPolicy"-tag. This also disables the per-queue/topic size limits. - I upped the memoryUsage to 200 mb, the storeUsage to 1 gb and the tempUsage to 1 gb. - I changed the connec

Re: too many open files

2009-05-11 Thread DataMover
I looked at that issue url you gave and wow, had a lot of great info. Any chance one could get a copy of the configuration xml file you created that solved the issue for you. Just to get some ideas. I had upped the memory limits via the etc security limit file and that at least seemed to increa

Re: too many open files

2009-05-11 Thread DataMover
Also I don't see where a ram usage paramenter is given on start up. #!/bin/bash export SUNJMX="-Dcom.sun.management.jmxremote.port=1099 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote=true" export JDK_HOME=/usr/java/jdk1