Re: Failover and updateClusterClients

2010-06-24 Thread Mark White
rajdavies wrote: > > This is a new feature in 5.4 - so we are all newbies to it ;) - answers > inlined: > Ah. I just noticed that 5.4 is not yet in stable branch. I didn't realise these features were *that* new :) -- View this message in context: http://old.nabble.com/Failover-and-updateClus

testing WebSocket + STOMP support, getting occasional "No transportListener available..." errors

2010-06-24 Thread Steve Kehlet
Verified on a 5.4 snapshot from today, but first noticed on a snap from Jun 9th. I'm testing connecting Chrome directly to activemq over WebSockets, and STOMP on top of that. I modified activemq.xml with: Basically just following the directions from: http

Re: default file store location

2010-06-24 Thread Rob Davies
In the current working directory of your application - under a directory called activemq-data cheers, Rob Rob Davies follow me: http://twitter.com/rajdavies I work here: http://fusesource.com My Blog: http://rajdavies.blogspot.com/ I wrote this: http://www.manning.com/snyder/ On 24 Jun 2010

Active mq Jndi look up from Jboss

2010-06-24 Thread viiveek83
Hi , I have activemq set up idependently and I am accessing it from the code running in my jboss server. I am unable to find a jndi implementation for this. I have seen documenattion for jndi implementation , but it explains on how to connect to activemq running inside jboss. Unfortunately I can

Re: default file store location

2010-06-24 Thread fachhoch
fachhoch wrote: > > I did not onfigure anything for broker, just in my connection > configration I specified broker url as vm:localhost in this case > activemq should use defualt store , what is the default file store > location ? > here is my configration

Re: Try to link MQ server via http proxy,but data format seems is wrong...

2010-06-24 Thread alanchb
Thank you for your reply. But that works well in my test program.In that program I wrote a TCP/IP client which connects remote TCP/IP server via HTTP proxy,and it can send/receive message with remote server successfully.The method I used is exactly the same used in ActiveMQ-CPP. Timothy Bish wrot

Re: Try to link MQ server via http proxy,but data format seems is wrong...

2010-06-24 Thread Timothy Bish
On Wed, 2010-06-23 at 20:07 -0700, alanchb wrote: > I download the CMS source code,and modified the TcpSocket::connect function > in TcpSocket.cpp in order to tunnel http proxy.Below is the code I modified > or added: > > void TcpSocket::connect(const char* host, int port, int timeout) throw ( > S

Re: activemq-cpp 3.2.0 vs2005-build directory is missing

2010-06-24 Thread Timothy Bish
On Thu, 2010-06-24 at 04:27 -0700, Sodan wrote: > its weird... > > some of the messages we send and recieve are fine: > const MapMessage *mapMessage = dynamic_cast(message); > some are empty, map seems empty, and therefore the itemExists fails... > > could it have something to do with: AMQCPP-26

Re: activemq-cpp 3.2.0 vs2005-build directory is missing

2010-06-24 Thread Sodan
its weird... some of the messages we send and recieve are fine: const MapMessage *mapMessage = dynamic_cast(message); some are empty, map seems empty, and therefore the itemExists fails... could it have something to do with: AMQCPP-261 ? Søren Timothy Bish wrote: > > On Thu, 2010-06-24 at

Re: activemq-cpp 3.2.0 vs2005-build directory is missing

2010-06-24 Thread Timothy Bish
On Thu, 2010-06-24 at 03:40 -0700, Sodan wrote: > thanx. our project actually compiles and runs now, but getting this strange > bug now: > > using: map->itemExists(inName) > > > app_debug.exe!std::_Debug_message(const wchar_t * message, const wchar_t * > file, unsigned int line) Line 15 C++

Re: activemq-cpp 3.2.0 vs2005-build directory is missing

2010-06-24 Thread Sodan
thanx. our project actually compiles and runs now, but getting this strange bug now: using: map->itemExists(inName) app_debug.exe!std::_Debug_message(const wchar_t * message, const wchar_t * file, unsigned int line) Line 15 C++ app_debug.exe!std::vector >::operator[](unsigned int _Pos)

Re: actviemq bug fixing

2010-06-24 Thread Gary Tully
use the m2eclipse plugin to pull in the maven projects. Then look at the activemq-core project and the tests for that, the bulk of the code is in there. On 24 June 2010 09:18, codescoder wrote: > > Hi There, > i have downloaded the ActiveMQ code and installed maven plug-ins for > eclipse > and

activemq.conf - import xml tags using XInclude

2010-06-24 Thread cmoulliard
Hi, Is it possible to import activemq xml tags from other xml files ? I try to use XI:include but activemq generates the following error ERROR: java.lang.Exception: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.activemq.xbean.XBeanBrokerServ

actviemq bug fixing

2010-06-24 Thread codescoder
Hi There, i have downloaded the ActiveMQ code and installed maven plug-ins for eclipse and i am able to build the code using mvn tool successfully, now i want to starting looking to fixing the bugs and debugging code , but when i import the project into my Eclipse workspace its created lot for pr

Re: Failover and updateClusterClients

2010-06-24 Thread Mark White
> but on the client side - use tcp:// instead of nio - you will get better performance. Thanks for the advice on this, and the rest of your answer. Much appreciated. Mark... -- View this message in context: http://old.nabble.com/Failover-and-updateClusterClients-tp28967819p28979962.html Sent

Re: Differences between AMQ 4.1.1 and 5.3.2

2010-06-24 Thread Rob Davies
I would use at least 5.3.2 - 5.x has a faster default persistent storage - but the main difference is there no overhead on the depth of Queues to broker memory. cheers, Rob Rob Davies follow me: http://twitter.com/rajdavies I work here: http://fusesource.com My Blog: http://rajdavies.blogspot.

Re: Failover and updateClusterClients

2010-06-24 Thread Rob Davies
This is a new feature in 5.4 - so we are all newbies to it ;) - answers inlined: On 23 Jun 2010, at 06:02, Mark White wrote: > > I'm a newbie at this, so please excuse any limitations in my understanding. > > We're looking at a load-balanced network of brokers with failover, using a > fixed list

lots of compilation warnings when building amq-cpp 3.2.x on VS 2005

2010-06-24 Thread andrew . marlow
I am using MPC (MakeProjectCreator) to build AMQ-cpp 3.2.x for VS 2005 since those project files were accidently missed out. I am getting loads of warnings, mostly exception related. I wonder if anyone knows why VS 2005 is doing this is. Here are some examples: UUID.cpp c:\dev\tools\activemq-cp

Re: HTTP 204 when consuming messages via REST servlet

2010-06-24 Thread Dejan Bosanac
Hi, this just means that your session is not reused between calls. Take a look at this example: cd examples ant producer -Dmax=10 wget -O - --save-cookies cookies.txt --load-cookies cookies.txt --keep-session-cookies http://localhost:8161/demo/message/TEST.FOO?type=queue will get all messages

Re: REST client authentication

2010-06-24 Thread Dejan Bosanac
Hi John, REST servlet is just one client to the broker and if you want to use it with secured broker you should do something like this http://activemq.apache.org/security.html#Security-WebConsole For securing access to the REST API, I'd suggest looking at http://activemq.apache.org/web-console.