Has anyone tried out Apache qpid yet?
http://incubator.apache.org/qpid/
Any war stories to report?
I was wondering how it stacked up against ActiveMQ. Any particular reasons
one might choose one over the other?
--
Elliotte Rusty Harold
[EMAIL PROTECTED]
On 8/6/07, Tom Samplonius <[EMAIL PROTECTED]> wrote:
>
>
> > Envirnoment
> > ==
> >
> > Activemq 4.1.1 (binary)
> > Stomp php
> > J2SE 5.0 update 8
> > Cent OS 4 - version 20060930
> ...
>
> There are known bugs in Stomp in 4.1.1. And there were some issues with
> sockets not being clean
On 8/8/07, Timothy Bish <[EMAIL PROTECTED]> wrote:
>
>
> If you find that the 5.0 client works and a 4.0 doesn't then I think we
> have an issue and you should create a new Jira issue for this.
I have now indeed verified that. Simply replacing the 4.1 jar in my client
with the 5.0 snapshot jar
I have some code that worked fairly well with the release version of
ActiveMQ 4.1 using OpenWire. One of my colleagues upgraded the server to the
latest snapshot of ActiveMQ 5, and suddenly while I could still write to the
queues on that server I could no longer read from them. (by the way, the new
I'm still struggling with some unit tests that pass when run in isolation
and fail when run as part of the larger suite. Here's a related question
that may help debug this. Suppose I create a factory like so:
factory = new
ActiveMQConnectionFactory("vm://localhost?broker.persistent=false"
Is there anyway to remotely tell a queue to clear or reset itself?
For that matter, how would one do that locally?
--
Elliotte Rusty Harold
[EMAIL PROTECTED]
After some research, the JMX stuff proved to all be too complex and way too
poorly designed for my taste. What seems to work is simply
browse --amqurl tcp://172.18.8.133:61616 queueName
Simple and to the point.
--
Elliotte Rusty Harold
[EMAIL PROTECTED]
What are people using to inspect the queues for debugging purposes? I'm
having a a devil of a time figuring out where a bug lies, in the sender or
the receiver.
I want to peek into the queue to see what's there and what's happening.
--
Elliotte Rusty Harold
[EMAIL PROTECTED]
>
> I've not seen that one before. FWIW this part of the build is trying
> to use JAXB2 to code generate some POJOs for working with XMPP.
>
> I wonder - could it be to do with being in a directory that has spaces
> in it? Does moving the activemq directory to a non-space directory
> help?
Movi
On Windows with Java 5 when I try to run "maven eclipse:eclipse" it dies
with some XJC schema errors like this:
[INFO] Building ActiveMQ :: XMPP
[INFO]task-segment: [eclipse:eclipse]
[INFO]
-
---
[INFO] Preparing eclipse:e
My code is throwing exceptions like this:
javax.jms.JMSException: Could not create Transport. Reason:
java.io.IOException: Could not create wire format factory for: openWire,
reason: java.io.IOException: Could not find factory class for resource:
META-INF/services/org/apache/activemq/wireformat/
On 7/14/07, Bruce Snyder <[EMAIL PROTECTED]> wrote:
For some reason, the startup script must have been failing to
determine the ACTIVEMQ_HOME variable previously. Are you running
ActiveMQ on Windows?
Yes, but the one that was failing was on Unix. On Windows it passed. But in
either case I
On 7/13/07, scottdawson <[EMAIL PROTECTED]> wrote:
See conf/log4j.properties, the file appender configuration.
Mysteriously the problem seems to have fixeed itself this morning with no
specific action on my part.
Nonetheless looking in my log4j.properties file I see
log4j.appender.out.fi
When run on the Unix server a couple of my tests are dying with messages
like this one:
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: /activemq-data/activemq.log (No such
file or directory)
at java.io.FileOutputStream.openAppend(Native Method)
These tests pas
I've fixed/kludged the latest instance of this problem by manually draining
the queue before sending in my test messages; e.g.
while (true) {
TextMessage m1 = (TextMessage) consumer.receive(3000);
if (m1 == null) break;
}
The problem seems to be that under som
On 7/6/07, James Strachan <[EMAIL PROTECTED]> wrote:
I don't see anything wrong I'm afraid. Maybe there's some timing issue
where the close of the connection is a tad asynchronous in some aspect
of closing the broker down properly.
FWIW lots of the test cases in ActiveMQ derive from
EmbeddedBro
After adding Derby to the classpath and async=true to the broker string, the
tests now fail both when run individually and when run in a group. I still
don't understand why the tests are fialing at all, and some other tests are
failing sporadicall. Sometimes I can run two test suites in a row an
On 7/9/07, Rob Davies <[EMAIL PROTECTED]> wrote:
It would be interesting to see if setting the async flag = false
makes a difference on the vm:// transport:
e.g. factory = new ActiveMQConnectionFactory("vm://localhost?
broker.persistent=false,async=false");
The immediate result of that is br
On 7/6/07, James Strachan <[EMAIL PROTECTED]> wrote:
FWIW lots of the test cases in ActiveMQ derive from
EmbeddedBrokerTestSupport which explicitly creates/stops a broker
which might help work around this glitch.
e.g. in your test try creating, before the connection (and stopping
after the con
I have a bunch of ActiveMQ tests that are exhibiting weird behavior. That
is, sometimes they pass and sometimes they fail. I can run a suite and see
seven failures. Then run those tests individually and watch them all pass.
This suggests to me that I'm not properly initializing the queue in setUp
Has anyone gotten PyActiveMQ to work with ActiveMQ and MapMessages? Are
there known bugs with this configuration?
One of our Python folks is pushing me to use TextMessages instead of
MapMessages because (he claims) MapMessages don't work in Python. Thoughts?
--
Elliotte Rusty Harold
[EMAIL PROTE
On 6/13/07, James Strachan <[EMAIL PROTECTED]> wrote:
On 6/13/07, Elliotte Harold <[EMAIL PROTECTED]> wrote:
> I'm starting a JMS application using test first development, as is my
habit.
> 1. How do I turn this off (short of redirecting System.err to /dev/null,
> w
Consider simple reception code like this:
MapMessage message = (MapMessage) consumer.receive(1000);
int x = message.getInt("foo"));
I notice that x is now set to zero even though there was no "foo" value in
the map. I would have expected an exception.
The JavaDoc is unclear on thi
I'm starting a JMS application using test first development, as is my habit.
As soon as I run the first test, it's dumping a lot of junk like this to the
console:
Jun 13, 2007 10:07:06 AM org.apache.activemq.broker.BrokerService getBroker
INFO: ActiveMQ 4.1.1 JMS Message Broker (localhost) is sta
Why does ActiveMQ require the backport of java.concurrent.util? I'm working
in Java 5 and would be happy to use the regular, bundled version of
java.util.concurrent, which I suspect works better anyway. Is there any
chance to get a version of ActiveMQ that removes this external dependency?
--
El
25 matches
Mail list logo