Re: need help interpreting jmx values

2008-02-26 Thread James Strachan
Networks work by brokers acting as consumers on other brokers which probably explains the unexpected consumer counts? On 26/02/2008, metaldork <[EMAIL PROTECTED]> wrote: > > hi. i'm preparing to migrate to jms for oracle toplink cache synching and am > currently doing some configuration and loa

Re: VTD-XML 2.3

2008-02-26 Thread James Strachan
On 26/02/2008, jimmy Zhang <[EMAIL PROTECTED]> wrote: > My take (which I am going publish articles shortly) is that VTD-XML > is vastly superior to JAXP in routing/switching XML payloads... JAXP is just an API for XPath. I don't see why VTD-XML can't implement that API - it'd make it really easy

network of brokers : connection drops after one or two days

2008-02-26 Thread Guy D.
Hi, I have 2 brokers (ActiveMQ 5.0) connected together with this configuration: dev-amq01 <--> dev-amq02 - dev-amq01: - dev-amq02: Communication between both brokers is ok for one or two days, but eventually, I get on one broker an error: Async error occurred: javax.jms.Inval

ActiveMQ and JNDI/LDAP

2008-02-26 Thread Some user
What is the format required to configure the ConnectionFactory and Destinations(Queues) in LDAP such that my client code can use them. Sun uses something like: dn: cn=queueNameBlah,ou=JMSObjects,o=makonetworks.com objectClass: top objectClass: javaContainer objectClass: javaObject objectClass:

JBM vs ActiveMQ

2008-02-26 Thread Zander Sprague
Greetings, I'm a relative newbie and have a quick question on ActiveMQ performance. We have a requirement for high volume publishing to a non-durable topic. We're currently using ActiveMQ and are quite happy with it but are being pushed by another team to move to JBoss Messaging. Does any

need help interpreting jmx values

2008-02-26 Thread metaldork
hi. i'm preparing to migrate to jms for oracle toplink cache synching and am currently doing some configuration and load testing. my test is: 4 brokers in distributed topic configuration using dynamic discovery a junit test that starts up 10 threads, each connecting as a consumer using dynamic

Re: VTD-XML 2.3

2008-02-26 Thread jimmy Zhang
We have had a white paper on VTD-XML from a long time ago I thought readers of this list may interested http://www.ximpleware.com/wp_SUN.pdf - Original Message - From: "jimmy Zhang" <[EMAIL PROTECTED]> To: Sent: Tuesday, February 26, 2008 12:19 PM Subject: Re: VTD-XML 2.3 My take (w

Re: VTD-XML 2.3

2008-02-26 Thread jimmy Zhang
My take (which I am going publish articles shortly) is that VTD-XML is vastly superior to JAXP in routing/switching XML payloads... it is my understanding that in the most typical cases VTD-XML will shock the world (outperforming JAXP by about 10~100x) We support full XPath expression but again,

Re: VTD-XML 2.3

2008-02-26 Thread James Strachan
I guess VTD-XML is more suitable for the Camel sub project; we could use it for XML routing and so forth. http://activemq.apache.org/camel/ Given the fact that VTD-XML appears GPL we'd not be able to host it at Apache, but we could host it at the camel-extra project... http://code.google.com/p/cam

Re: Newby question on message routing

2008-02-26 Thread James Strachan
On 26/02/2008, jimmy Zhang <[EMAIL PROTECTED]> wrote: > Hi, all, I have just recently joined the list and wonder if > someone can explain to me how FUSE routes XML messages > in its current implementation... Is it DOM/XPath based or > is it SAX/PULL based? For FUSE related questions you should

Messages not getting dispatched

2008-02-26 Thread tbenge
Hi, We're setting up 2 embedded brokers that are networked for redundancy. Using Active MQ 5.1 snapshot, we're able to send messages to a queue and have them processed. It's a low volume queue ( ~50 messages per day ) with long running jobs ( 1 hr each job ). With 25 remote consumers, the jobs

Newby question on message routing

2008-02-26 Thread jimmy Zhang
Hi, all, I have just recently joined the list and wonder if someone can explain to me how FUSE routes XML messages in its current implementation... Is it DOM/XPath based or is it SAX/PULL based? What is the performance number etc? I appreciate any suggestions on this... thanks, Jimmy Zhang

ActiveMQ 5.0 & java applets

2008-02-26 Thread bear.giles
I'm getting a class initialization error when I try to launch an applet using ActiveMQ 5.0.0. The applet is basically a variant of the provided examples, and they work within the eclipse applet viewer so I know the basic code is sound. The error is: java.lang.NoClassDefFoundError: Could not ini

Re: Ordering of persistent/non-persistent messages in ActiveMQ 5

2008-02-26 Thread Roger Hoover
It's a good point. I can't think of an application that would do it on purpose. A bug in the producer might be the only scenario where it could cause problems. I was just running some tests while preparing to upgrade to AMQ5 and wanted to be clear on this. On Tue, Feb 26, 2008 at 9:44 AM, Ben Ch

Re: Ordering of persistent/non-persistent messages in ActiveMQ 5

2008-02-26 Thread Ben Chobot
Certainly, but if order matters, wouldn't you expect to get all or none of your messages that depend upon each other? Why would you send x as non-persistent and x+1 as persistent if x+1 requires x to be processed? Roger Hoover wrote: There are applications in which message order matters and yo

Re: Ordering of persistent/non-persistent messages in ActiveMQ 5

2008-02-26 Thread Roger Hoover
There are applications in which message order matters and you generally wouldn't expect message properties to affect the order of delivery unless you're using a selector. On Tue, Feb 26, 2008 at 8:59 AM, Ben Chobot <[EMAIL PROTECTED]> wrote: > Why wouldn't you want it to be this way? > > Roger Ho

Re: Ordering of persistent/non-persistent messages in ActiveMQ 5

2008-02-26 Thread Ben Chobot
Why wouldn't you want it to be this way? Roger Hoover wrote: Using STOMP on AMQ 5, if I enqueue some persistent and non-persistent messages and then consume them, they don't get consumed in the order in which they were produced. The non-persistent messages are delivered first (with their relati

Re: Ordering of persistent/non-persistent messages in ActiveMQ 5

2008-02-26 Thread Jim Gomes
Hi Rob, Is this the same thing as the Total Ordering feature (c.f., http://activemq.apache.org/total-ordering.html), or is it something different? While it may be expected behavior, it was a little surprising to read that was what would happen. Best, Jim On Tue, Feb 26, 2008 at 12:06 AM, Rob Da

Re: JBoss Messaging Stomp Configuration

2008-02-26 Thread Jim Gomes
Hi Johann, It can take a little bit to figure out STOMPConnect, but once you have it configured, it's very low maintenance. I had to do something very similar to what you are attempting to do. I needed to be able to connect to TIBCO EMS using the Apache NMS client (this was before direct support

Re: JBoss Messaging Stomp Configuration

2008-02-26 Thread James Strachan
BTW StompConnect is not a connection factory - is a Java bean that uses a ConnectionFactory and has a start() method that must be called. So we're talking about running this Java code... StompConnect connector = new StompConnect(connectionFactory); connector.start(); Feel free to wrap it up as a

Re: JBoss Messaging Stomp Configuration

2008-02-26 Thread James Strachan
On 26/02/2008, Johann Ungerer <[EMAIL PROTECTED]> wrote: > And that's exactly where I lose coherence. I'm not going to be writing any > Java code here, so want to do it all via config. Unfortunately right now you have to write Java code. There's no JBoss specific configuration yet for StompConnec

RE: JBoss Messaging Stomp Configuration

2008-02-26 Thread Johann Ungerer
And that's exactly where I lose coherence. I'm not going to be writing any Java code here, so want to do it all via config. I created a datasource config for JBOSS as follows: StompConnect tcp://localhost:61616 stomp/connect And get a funky exception. However, I

Re: JBoss Messaging Stomp Configuration

2008-02-26 Thread James Strachan
Just create a StomConnect object, configure it with whatever ConnectionFactory you want from JBoss and call its start() method. Use whatever JBoss mechanisms you want (EJB/MBeans/spring) to configure that e.g. here's the JavaDoc http://stomp.codehaus.org/maven/apidocs/org/codehaus/stomp/jms/Stomp

RE: JBoss Messaging Stomp Configuration

2008-02-26 Thread Johann Ungerer
Indeed... ;) My problem is the documentation seems a little light, or I don't have enough of a frame of reference to make sense of it. Below the documentation from Stomp: If you use some kind of dependency injection framework like Spring you can configure StompConnect using XML if you prefer. J

Re: JBoss Messaging Stomp Configuration

2008-02-26 Thread James Strachan
On 26/02/2008, Johann Ungerer <[EMAIL PROTECTED]> wrote: > Hi James, > > See http://www.jboss.com/index.html?module=bb&op=viewtopic&t=128884 for the > response from JBOSS. So basically they are passing the buck :) -- James --- http://macstrac.blogspot.com/ Open Source Integration http://o

RE: JBoss Messaging Stomp Configuration

2008-02-26 Thread Johann Ungerer
Hi James, See http://www.jboss.com/index.html?module=bb&op=viewtopic&t=128884 for the response from JBOSS. Regards, j/ -Original Message- From: James Strachan [mailto:[EMAIL PROTECTED] Sent: 26 February 2008 11:13 To: users@activemq.apache.org Subject: Re: JBoss Messaging Stomp Configur

Re: JBoss Messaging Stomp Configuration

2008-02-26 Thread James Strachan
On 26/02/2008, Johann Ungerer <[EMAIL PROTECTED]> wrote: > Hi Rob, > > Unfortunately the choice of messaging platform is not in my control, so I > have to go with one of the STOMP integration methods. I guess first prize > will be StompConnect, but I'm struggling a little to make out head or tai

RE: JBoss Messaging Stomp Configuration

2008-02-26 Thread Johann Ungerer
Hi Rob, Unfortunately the choice of messaging platform is not in my control, so I have to go with one of the STOMP integration methods. I guess first prize will be StompConnect, but I'm struggling a little to make out head or tail of the process. I saw an article on ActiveMQ integration and tr

Re: Ordering of persistent/non-persistent messages in ActiveMQ 5

2008-02-26 Thread Rob Davies
On 26 Feb 2008, at 06:49, Roger Hoover wrote: Using STOMP on AMQ 5, if I enqueue some persistent and non-persistent messages and then consume them, they don't get consumed in the order in which they were produced. The non-persistent messages are delivered first (with their relative order p

Re: JBoss Messaging Stomp Configuration

2008-02-26 Thread Rob Davies
On 25 Feb 2008, at 21:06, Johann Ungerer wrote: Hi All, I'm totally new to the entire JMS environment, but am trying to connect a .NET Client to a JBOSS Messaging implementation. Thus far I've tried with the NMS client, using an OpenWire connector, but I figure this will never work. It