RE: C support for ActiveMQ... care to share a make file?

2010-01-28 Thread Hightower, Rick
I've been googling around and from the mailing lists. It seems that the problem is with Apache HTTPD libs it depends on. Probably just need to recompile Apache, recompile my linux kernel, jump in ice water, sacrifice a few chickens, march around my cube backwards while playing a silver tuba and it

RE: C support for ActiveMQ... care to share a make file?

2010-01-28 Thread Hightower, Rick
Thanks.. .I tried that and a few other things related to that.. I still get the same compile errors... #!/bin/bash OUT_DIR=target/debug/shared gcc -fPIC src/main.c -omain -l$OUT_DIR/libstomp.so -I. -I./src -I/usr/include/apr-1.0 -lapr-1 `/usr/bin/apr-1-config --cflags --includes --ldflags` --

RE: C support for ActiveMQ... care to share a make file?

2010-01-28 Thread Pothier, Peter
run "/usr/bin/apr-1-config --cppflags --cflags" and put these flags into the build script -Original Message- From: Hightower, Rick [mailto:rick.highto...@corventis.com] Sent: Thursday, January 28, 2010 7:14 PM To: Hightower, Rick; users@activemq.apache.org Subject: RE: C support fo

RE: C support for ActiveMQ... care to share a make file?

2010-01-28 Thread Hightower, Rick
Ok so the library built fine. Whoo hoo! Following the instructions from here (which are based on the JBoss instructions but adapted to Debian). http://bivald.com/lessons-learned/2009/11/building_libstomp_client_on_li .html Then I tried to build the example main.c. The main.c is an example progra

RE: C support for ActiveMQ... care to share a make file?

2010-01-28 Thread Hightower, Rick
BTW This is a good link too http://bivald.com/lessons-learned/2009/11/building_libstomp_client_on_li .html as it only covers libstomp (also on Debian which I am using). -Original Message- From: Pothier, Peter [mailto:ppoth...@crossbeamsys.com] Sent: Thursday, January 28, 2010 3:16 PM To:

RE: C support for ActiveMQ... care to share a make file?

2010-01-28 Thread Hightower, Rick
Wow... At first, I went to the link before reading your whole email. Then I cursed you silently as I tried to figure out what blacktie is. Then I was about to write you a snarky email. Then I saw the magic beans that lead to the clues. Thanks man. -Original Message- From: Pothier, Pete

RE: C support for ActiveMQ... care to share a make file?

2010-01-28 Thread Pothier, Peter
Check out step 5 http://community.jboss.org/wiki/buildingblacktie on building libstomp. -Original Message- From: Hightower, Rick [mailto:rick.highto...@corventis.com] Sent: Thursday, January 28, 2010 6:11 PM To: users@activemq.apache.org Subject: C support for ActiveMQ... care to

C support for ActiveMQ... care to share a make file?

2010-01-28 Thread Hightower, Rick
I need to do some messaging between C, Python and Java. I have used ActiveMQ in the past, and feel comfortable with it. This is an R&D, proof of concept type project for the next version of our product. We have a variety of ways to do messaging between Java, Python and C processes. We would li

cannot get ActiveMQ to start at system boot on Ubuntu

2010-01-28 Thread Marco Mistroni
hello all, could anyone help me to get MQ to start at boot time on Ubuntu 9.10? i have tried everything possible (adding to update-rc.d , using System-->Preferences-->Startup appplications) but with no success could anyone help? regards marco

Activemq 5.3.0, ruby stomp gem, failover and master/slave

2010-01-28 Thread Robert Borkowski
Hi everyone, I've got three failure scenarios where there are problems. Can anyone comment on them? This is a pure master/slave config, with the stomp connector enabled, and the master has waitForSlave="true" 1) Master starts, but slave is not yet started. I'd expect the master to reject all inco

Re: Network of Brokers using Durable Topics

2010-01-28 Thread Ragha
Thanks. I' was under the same opinion, but the question really boils down to if information about the state (i.e what was the last message consumed) a certain subscriber is relayed across to other brokers in the network. Say, if a subscriber with ClientID_A connects to broker A, and then at a lat

Re: How to get DataSouce from JNDI ?

2010-01-28 Thread mlus
Thank you for reply > that definition of postgres-ds is not defined in jndi, but Spring. So you > need to use Spring application context to obtain it (or register it in some > kind of jndi store). configure jndi.properties below. java.naming.factory.initial=org.apache.xbean.spring.jndi.SpringIni

Re: Bottleneck problem when send non-persistent async message

2010-01-28 Thread ws07
Hi Gary, Thank you for answering my question. Currently, I try to use producer flow control and memory limit as your suggestion. I've already set producer window size because I use Async Sends and non-persistent messages: connectionFactory.setProducerWindowSize(1048576); I have a question about

Pooled connection in Camel SE environment. consumer come and go.

2010-01-28 Thread uprooter
Hello. I'm trying to figure out how to configure my Java SE process to use a pool of connections to a broker. I have many producers pushing messages to a single queue, and camel routes in seperate java SE instance for processing them. I've read the documentation about flow control and dispatching

Re: Testing around BlobMessage

2010-01-28 Thread johncarl81
Thanks for the tip. That is exactly what I was looking for. John Gary Tully wrote: > > have a look at org.apache.activemq.blob.FTPBlobTest in activemq-core > > Blobs just have url references to them and make use of http or ftp to > upload > and download the message content. So for http you ne

Re: STOMP and temporary queue

2010-01-28 Thread Dejan Bosanac
Hi, the prefixes /temp-queue/ and /temp-topic/ will create temporary destinations. It should be better documented though. Cheers -- Dejan Bosanac - http://twitter.com/dejanb Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nig

STOMP and temporary queue

2010-01-28 Thread Yari Marchetti
Hi everyone, i've googled a bit around but i cannot find a confirm about temporary queues/topics creation with a STOMP client. I've found this http://issues.apache.org/activemq/browse/AMQ-1008 that seems to be solved in 5.3.0 but it doesn't seems so to me. Even in http://activemq.apache.org/cms/st

Re: How to minimize send() latency for persistent msgs in transacted sessions keeping JMSExceptions synchronuos?

2010-01-28 Thread Gary Tully
If you don't want to use an ExceptionListener then you need to have every send synced with the broker, so you need alwaysSyncSend. However, this will give the worst latency so you may want to have a pool of producers on separate connections so that you can get some parallelism. If you can live wit

How to minimize send() latency for persistent msgs in transacted sessions keeping JMSExceptions synchronuos?

2010-01-28 Thread Fred Moore
Hi folks, we have a fast producer sending persistent messages in transaction and committing them every X msgs or Y seconds, our requirements are: 1\ ability to minimize the send() latency (and overall performance) 2\ ability to detect any JMSExceptions at commit() time (or at send() time) and ca

HTTP transport + Streaming

2010-01-28 Thread uprooter
Hello. I know I'm getting away from JMS but since Streaming is supported and HTTP transport is also available I'd like to know if it's possible or have anyone tried using Streaming via HTTP? The advantage is huge as HTTP transport is sometimes the only way to do NAT traversal. At the same time I'

RE: Replye-Request pattern performance

2010-01-28 Thread Andres Rangel
Jose thanks for replying. >> There is overhead when creating/destroying the queues, In our case, this overhead is negligible, since we are using pools (the temp queues are created once in the lifetime of the connection) >> and in terms of memory usage there is the default stack size allocated >>

Re: MessageTransformer and JMS Stream messages

2010-01-28 Thread davdres
I really didn't expect anything because I didn't anticpate this style of message. I am using the transformer intercept to add a property to the message. Therefore it would satisfy my use if the transformer was invoked only once. However, given the concept of a transformer I would think that it

Re: MessageTransformer and JMS Stream messages

2010-01-28 Thread Gary Tully
my guess is that it is intentional as the whole message is not present at any point. A stream is a type of producer that sends multiple bytes messages till the stream is exhausted. I guess it could apply the transform to each of the individual messages that make up the stream. Is that what you expe

Re: Send Message

2010-01-28 Thread Gary Tully
see: http://activemq.apache.org/how-can-i-support-priority-queues.html 2010/1/28 lernit2007 > > Hello, > > it is possible to configure, that activemq sends only messages of one > defined priority. To example it should send only the messages with the > priority 1. > -- > View this message in cont

Send Message

2010-01-28 Thread lernit2007
Hello, it is possible to configure, that activemq sends only messages of one defined priority. To example it should send only the messages with the priority 1. -- View this message in context: http://old.nabble.com/Send-Message-tp27352644p27352644.html Sent from the ActiveMQ - User mailing list

Re: How to get DataSouce from JNDI ?

2010-01-28 Thread Dejan Bosanac
Hi, that definition of postgres-ds is not defined in jndi, but Spring. So you need to use Spring application context to obtain it (or register it in some kind of jndi store). Cheers -- Dejan Bosanac - http://twitter.com/dejanb Open Source Integration - http://fusesource.com/ ActiveMQ in Action -

Re: ActiveMQ HTTP

2010-01-28 Thread Dejan Bosanac
HI, you need also commons-httpclient (http://hc.apache.org/httpclient-3.x/) in your classpath as well. Cheers -- Dejan Bosanac - http://twitter.com/dejanb Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.net On Wed

How to get DataSouce from JNDI ?

2010-01-28 Thread mlus
Hi. I want to create JAAS Authentication Plugin. This plugin module get login date through javax.sql.DataSource. In activemq.xml, I set In plugin module class, Context initCtx = new InitialContext(); Object obj = initCtx.lookup(