Re: Change Message Destination using Interceptors

2009-03-17 Thread James Strachan
2009/3/17 DanielR : > > How can I change the destination queue of a message using Interceptors? Whats your use case BTW? The easiest thing might be to use a CamelDestination which can then use a route client side to perform content based routing etc. -- James --- http://macstrac.blogspot.co

Re: ActiveMQ JNDI support only for testing?

2009-03-17 Thread James Strachan
2009/2/10 janylj : > > Hello, > > I tried ActiveMQ JNDI support. It seems to me only for testing, because the > administrative objects are specified in the jndi.properties of client > machine. There is no centralized place to manage the ConnectionFactory or > Destination. And we could not control w

Re: Change Message Destination using Interceptors

2009-03-17 Thread James Strachan
2009/3/17 DanielR : > > > I need to forward the messsage to the proper queue depending on the first 10 > characters of the body of the message. Sounds like a content based router... http://camel.apache.org/content-based-router.html its probably better to do that using Camel rather than as an inte

Re: Change Message Destination using Interceptors

2009-03-17 Thread James Strachan
2009/3/17 DanielR : > > I have 2 restrictions: > > 1. The routing must be done server side > 2. The routing depends on the body, not on the header or some property Both of those are fine - just include the content based router inside the broker process. ActiveMQ can easily host Camel routes by jus

Re: ActiveMQ JNDI support only for testing?

2009-03-17 Thread James Strachan
2009/3/17 janylj : > > I was trying to have a centralized repository of destinations and > ConnectionFactory. I could use a uniform namespace for destination to avoid > conflicting. However, I don't want to allow users creating destination or > ConnectionFactory on the fly. I would like them access

Re: ActiveMQ JNDI support only for testing?

2009-03-17 Thread James Strachan
Thats a question for the Apache Directory user lists I'm afraid 2009/3/17 janylj : > > Thanks James for a great suggestion of Apache Directory Server. I didn't know > that Apache Directory Server could be deployed in the same JVM as ActiveMQ > broker. > > Do you happen to know whether Apache Direc

Re: ActiveMQ JNDI support only for testing?

2009-03-18 Thread James Strachan
2009/3/18 Antsa : > > > huntc wrote: >> >> I'm curious as to what is trying to be achieved here. Could you please >> explain why it is useful to perform a naming/directory lookup for a queue >> or topic name? >> > My use case is probably due to my newbie status with JMS. > Session.createTopic javad

Re: Change Message Destination using Interceptors

2009-03-18 Thread James Strachan
2009/3/17 DanielR : > > I can't get it working... any examples would be nice please Here's a bunch of examples... http://camel.apache.org/examples.html The spring XQuery example might be a good start... http://camel.apache.org/spring-xquery-example.html you might find its easier to write your p

Re: Camel routing poor performance vs VirtualDestinations and Topics

2009-03-31 Thread James Strachan
Which version of ActiveMQ/Camel/Spring are you using? Is the camel code inside the broker? Do you have any specific spring configuration for the ActiveMQ component? BTW the out of the box won't be using transactions, so you'll be doing a request/reply with the broker (I presume using TCP unless yo

Re: Camel routing poor performance vs VirtualDestinations and Topics

2009-03-31 Thread James Strachan
Also configuring the activemq component to use vm transport (as it defaults to tcp://locahost:61616) would probably help too 2009/3/31 DanielR : > > Hi. > > I'm using AMQ 5.2 (apache-activemq-5.2.0-bin.tar). > The camel code is in a java class of my own package > (cl.niclabs.activemq.camel), loade

Re: Camel routing poor performance vs VirtualDestinations and Topics

2009-03-31 Thread James Strachan
Oh and async sending... 2009/3/31 James Strachan : > Also configuring the activemq component to use vm transport (as it > defaults to tcp://locahost:61616) would probably help too > > 2009/3/31 DanielR : >> >> Hi. >> >> I'm using AMQ 5.2 (apache-activemq-

Re: Activate Some Services

2009-07-08 Thread James Strachan
2009/7/8 Gabriel1982 : > > Hello , > > > i want to know if it's possible to activate just one service for the > activemq. > > for example just activate the TransportServer service. To do what BTW? The TransportServer is designed to work with a Broker; so you need the BrokerService. You can choos

Re: Activate Some Services

2009-07-08 Thread James Strachan
2009/7/8 Gabriel1982 : > > Thanks a lot Mr James > > but i don't need the broker service . > > i would like to use the stomp interface listener to intercept messages and > than persist them in a database without using cache memory . in other words > i want to use just the server of socket of active

Re: Activate Some Services

2009-07-08 Thread James Strachan
2009/7/8 Gabriel1982 : > > yes but the brokerService is essentially used to manage messages in the > Queues or Topics > > but for me i don't need even to create any Queues or Topics in the memory . > > i just want to persist them in the disk and then get them from the disk . > > you think it's poss

Re: Activate Some Services

2009-07-08 Thread James Strachan
2009/7/8 Gabriel1982 : > > using only one queue can block consumers In what way? > besides i think that a queue can't > support 30 million of > messages It should be able to. -- James --- http://macstrac.blogspot.com/ Open Source Integration http://fusesource.com/

Re: Camel with intergated ActiveMQ Web Console and JBoss

2009-07-10 Thread James Strachan
2009/7/10 chu_man_fu : > > I have Camel working great in ActiveMQ intergated into JBoss but only by > modifying my activemq.xml file: > >   xmlns="http://activemq.apache.org/camel/schema/spring";> >        my.package.name >         >                 >             >         >     >     class="org.

Re: How to restrict MQ shall have only one consumer

2009-07-21 Thread James Strachan
2009/7/21 Raju Narayan : > > Hello, > > In my modules interaction scinario we defined only one consumer will exist > per MQ, So How to prevent/query that consumer already exists for given MQ. > So That I can prevent Creating consumers for MQ using NMS(C# .net client). Using Exclusive Consumers ens

Re: AMQ + Programmatic Creation of Destinations + Registration in JNDI

2009-08-04 Thread James Strachan
2009/8/4 jworkman : > > I really need help, I am struggling to create queues and topics in ActiveMQ > and have them accessible from JNDI lookups. I need this > creation/registration to be done without bringing the server down, and done > without manual configuration. > > Something like: > > //creat

Re: AMQ + Programmatic Creation of Destinations + Registration in JNDI

2009-08-04 Thread James Strachan
2009/8/4 jworkman : > > Yes I read the secion, but it explains about adding it to the jndi.properties > file, which I can do for predefined ones but not ones created in memory. > > dynamicQueues/ don't seem to work when I try to connect from an external > client. The JNDI provider is local to the

Re: AMQ + Programmatic Creation of Destinations + Registration in JNDI

2009-08-04 Thread James Strachan
2009/8/4 jworkman : > > I am not sure I follow... When I do ctx.lookup("dyanmicQueues/whatever") what > will this do? Create a queue if one does not exist in the destination amq > server? Yes, see this FAQ entry... http://activemq.apache.org/how-do-i-create-new-destinations.html > What is happen

Re: AMQ + Programmatic Creation of Destinations + Registration in JNDI

2009-08-04 Thread James Strachan
2009/8/4 jworkman : > > > > James.Strachan wrote: >> >> 2009/8/4 jworkman : >>> >>> I am not sure I follow... When I do ctx.lookup("dyanmicQueues/whatever") >>> what >>> will this do? Create a queue if one does not exist in the destination amq >>> server? >> >> Yes, see this FAQ entry... >> http://

Re: AMQ + Programmatic Creation of Destinations + Registration in JNDI

2009-08-04 Thread James Strachan
2009/8/4 jworkman : > > In the latter would the jms client call createQueue would that be up to the > server? > If up to the server, then how would the calling client access that queue? Please read the FAQ I pointed you at. http://activemq.apache.org/how-do-i-create-new-destinations.html The shor

Re: JBoss and ActiveMQ with remote JNDI

2009-08-05 Thread James Strachan
2008/4/29 Alex Soto : > James Strachan wrote: >> >> 2008/4/29 Alex Soto : >> >>> >>> I also have the same problem. >>>  The suggestions I've seen is to instantiate ActiveMQConnectionFactory >>> instead of getting it from JNDI.  As a w

Re: JBoss and ActiveMQ with remote JNDI

2009-08-07 Thread James Strachan
2009/8/7 An An : > > Hi James, > Thanks for the reply. > I have set the JBoss jndi properties already. > So I do this in the code :- > << > Properties props = new Properties(); > > props.setProperty(Context.INITIAL_CONTEXT_FACTORY,"org.apache.activemq.jndi.ActiveMQInitialContextFactory"); >        

Re: Message Integrity

2009-09-09 Thread James Strachan
2009/9/9 pa7751 : > > Hi > > I have a queue in ActiveMQ messagings server. There are two listeners(on > different machines), that are listening to the same queue. This is done for > faster processing of the messages in the queue. Will ActiveMQ ensure that > the same message is not received by both?

Re: logging of messages in ActiveMQ

2009-09-10 Thread James Strachan
does uncommenting this line help? log4j.rootLogger=DEBUG, out, stdout i.e. to log to both the file and standard out? 2009/9/10 Jim_1 : > > Could anyone help me with how to fully log the messages including > consumer/producer > > Here is my log4j.properties file - but I am not getting detailed m

Re: Maintaining Message Uniqueness in a Queue

2009-09-29 Thread James Strachan
2009/9/29 itamara : > > hi AMQ users > > What is the best way to ensure Message Uniqueness in a Queue? > > I'm having the following architecture: > > A single Scheduler (a quartz scheduled job) is periodically checking a DB > for entities to update, for each entity-to-update it uses a single Sender

Re: Connecting to Tibco RV from ActiveMQ

2009-10-29 Thread James Strachan
2009/10/29 AL_DK : > > Hi, > > I would like to know if the ActiveMq supports connection to Tibco RV? > > If not, any suggestions for how this could be made? It would be pretty easy to create an RV component for Camel http://camel.apache.org/components.html then you could easily bridge from RV to

Re: Connecting to Tibco RV from ActiveMQ

2009-10-29 Thread James Strachan
2009/10/29 Bruce Snyder : > On Thu, Oct 29, 2009 at 10:05 AM, James Strachan > wrote: >> 2009/10/29 AL_DK : >>> >>> Hi, >>> >>> I would like to know if the ActiveMq supports connection to Tibco RV? >>> >>> If not, any suggestions f

Re: Poor design, poor performance. Better design, better performance?

2010-01-20 Thread James Strachan
2010/1/19 jongraf : > > Our load tests have completed and I am proud to report that reading the > documentation, educating the entire technical team and documenting the > various ActiveMQ settings in our properties files has led to a significant > performance increase. > > Our web app hit 1750 hits

Re: Consumer and Failover

2010-02-16 Thread James Strachan
On 16 February 2010 15:38, Jean-Yves LEBLEU wrote: > Hi all, > > I am trying to use the failover transport > (failover:(tcp://localhost:61618)), and I have some questions : > > I did a test with a simple consumer in scala (see the code and log at > the end of the mail). > > Scenario : > Broker is

Re: Consumer and Failover

2010-02-16 Thread James Strachan
Which version are you using BTW? On 16 February 2010 16:17, Jean-Yves LEBLEU wrote: > On Tue, Feb 16, 2010 at 4:54 PM, James Strachan > wrote: >> On 16 February 2010 15:38, Jean-Yves LEBLEU wrote: >>> Hi all, >>> >>> I am trying to use the failover t

Re: consumer cant receive messages

2010-02-24 Thread James Strachan
On 24 February 2010 09:06, harrygoo wrote: > > hi, I am using activemq-4.0, sometimes my consumer cant receive any message > from ActiveMQ. In the JConsole, I can see the connection is connected, the > QueueSize is bigger than 0, and DequeueCount is bigger than EnqueueCount > (this make me feel co

Re: Resequencing with Camel

2010-02-24 Thread James Strachan
Also - the trick with camel is when things are not doing as you want, turn on tracer... http://camel.apache.org/tracer.html On 24 February 2010 10:38, Gary Tully wrote: > you may have more luck with a useful reply on the camel users forum. > One thought, are you sure the header property is prese

Re: Scalability with ActimeMQ consumers

2010-03-11 Thread James Strachan
2010/3/11 Márcio Geovani Jasinski : > Hi, > > I have an application running with one producer and many consumers. > In a stress situation I know that we need between 10 and 15 consumers but > normally this number is not needed. > > What´s the best solution for scalability using ActiveMQ? > 1. Creat

Re: Data logging with AMQ message store?

2008-01-30 Thread james . strachan
I guess you could walk through the active & archive journal files to analyse message flows. Though this will include all messages on all destinations so Rob's idea might be easier to do. On 31/01/2008, Rob Davies <[EMAIL PROTECTED]> wrote: > > On Jan 30, 2008, at 12:56 PM, brian12 wrote: > > > >

Re: Prefetch Limit of 1000 .... without acknowledges

2008-01-30 Thread james . strachan
which version of ActiveMQ? On 30/01/2008, Eric-AWL <[EMAIL PROTECTED]> wrote: > > Hi > > Context > > A "client" process is on "ytsvmx01s" server, Server process is on > "ytsvmx02s" server (an other server). A duplex network of brokers is made by > the client configuration. > >

Re: interconnecting dbus and activemq

2008-02-08 Thread James Strachan
On 08/02/2008, phb <[EMAIL PROTECTED]> wrote: > > Hi, > > We're looking for a new interprocess communication mecanism for the > applications we develop on Linux (today we use a mix of techniques from UNIX > IPC to sockets and pipes) > > A good candidate for us is dbus, which is available from the Q

Re: Consumer not consuming messages

2008-02-11 Thread James Strachan
On 11/02/2008, Jeroen van Bergen <[EMAIL PROTECTED]> wrote: > > I'm running a very basic instance of AMQ 5.0.0: just the supplied sample > configuration, starting the broker with bin\activemq. My client application > (Java SE) produces and consumes messages on a single queue. Both the > producer an

Re: Cannot get unit test to pass....

2008-02-11 Thread James Strachan
I think you might have hit a real common gotcha... http://activemq.apache.org/i-am-not-receiving-any-messages-what-is-wrong.html On 11/02/2008, David Siefert <[EMAIL PROTECTED]> wrote: > Hi, > > I am trying to use ActiveMQ to do 'quick & easy' unit testing for JMS > message listeners. So far, no

Re: Consumer not consuming messages

2008-02-13 Thread James Strachan
On 13/02/2008, Jeroen van Bergen <[EMAIL PROTECTED]> wrote: > > > > wha wrote: > > > > I can't see your entire code. > > I don't know if you have a setMessageListener(YourConsumerClass) for your > > consumer. > > Your consumer class must implement MessageListener. > > > > What I gathered from the J

Re: ActiveMQ in Production?

2008-02-24 Thread James Strachan
On 21/02/2008, Ahmed Al-Obaidy <[EMAIL PROTECTED]> wrote: > I'm very sorry,,, them email sent by mistake... > > > I think ActiveMQ is great in features... it is the most advances JMS broker > in the open source market, > > I wanted to ask about its stability and performance? > > and if anyone i

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 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 James Strachan
gt; http://stomp.codehaus.org/Running+StompConnect > > That does not tell me much I'm afraid. > > So, if anyone knows how to demystify that, I'll be very grateful. > > Thanks, > > j/ > > -Original Message- > From: James Strachan [mailto:[EMAIL P

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 James Strachan
ption. However, I think I'll get around that problem by > implementing a bean-dd xml section. What I firstly need to know is if I'm > even remotely on the right track, or else how do I actually "run" > StompConnect. > > Thanks again, > > j/ &

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

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: 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

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-27 Thread James Strachan
On 27/02/2008, jimmy Zhang <[EMAIL PROTECTED]> wrote: >Yes, when designing VTD-XML we took a long hard look at JAXP... > the conclusion is that JAXP simply has too many issues... the problem starts > from the DOM API (which I have written an article on this topic called > the performance woe

Re: Using http transport from a Perl client

2008-02-28 Thread James Strachan
To talk to ActiveMQ via Perl, use the Perl Stomp client... http://activemq.apache.org/cross-language-clients.html On 28/02/2008, Ramit Arora <[EMAIL PROTECTED]> wrote: > > Hi All, > I am experimenting with ActiveMQ 5.0, & my clients are in Perl. While > tinkering around, I managed to get Java

Re: VTD-XML 2.3

2008-02-28 Thread James Strachan
On 28/02/2008, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I would be glad to join the group and help out... > what does it take to join? So we love patches :) http://activemq.apache.org/camel/contributing.html and the camel-extra project we can add committers pretty easily. http://code.googl

Re: retry without using Failover Transport

2008-02-29 Thread James Strachan
On 29/02/2008, Qian Su <[EMAIL PROTECTED]> wrote: > > Hi, > > We are using Activemq version 4.1.1, tcp transport and we'd like the > producer to retry at least once in case of connection timeout to a broker. > The brokers are configured behind a load balancer. > > Does Activemq support retries

Re: Where is the maven2 repo for ActiveMQ

2008-03-03 Thread James Strachan
Here you go http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/activemq/ On 01/03/2008, lanchez <[EMAIL PROTECTED]> wrote: > > Where is the maven2 repo for ActiveMQ jars? > > I tried: > http://repo1.maven.org/maven2 and the latest was 4.0 > > I tried > http://people.apache.o

Re: Using http transport from a Perl client

2008-03-03 Thread James Strachan
On 29/02/2008, Ramit Arora <[EMAIL PROTECTED]> wrote: > > Hey James, > Thanks for the prompt reply. I've already tried Stomp for talking to > ActiveMQ, & the performance is quite good. I've even modified the Net::Stomp > module available on CPAN to handle transactions & the master/slave topolog

Re: "WARNING: Transport failed" ... org.apache.activemq.transport.failover.FailoverTransport handleTransportFailure

2008-03-03 Thread James Strachan
It looks like the socket failed - could be thebroker thinking the socket was inactive. You could try increasing or disabling the inactivity timeout. On 03/03/2008, Andrew <[EMAIL PROTECTED]> wrote: > Anyone know why this would happen? Other clients connected simultaneously > don't disconnect. E

Re: "WARNING: Transport failed" ... org.apache.activemq.transport.failover.FailoverTransport handleTransportFailure

2008-03-03 Thread James Strachan
Note that failover reconnected fine BTW On 04/03/2008, James Strachan <[EMAIL PROTECTED]> wrote: > It looks like the socket failed - could be thebroker thinking the > socket was inactive. You could try increasing or disabling the > inactivity timeout. > > > On 03

Re: purging an ActiveMQ queue

2008-03-04 Thread James Strachan
On 04/03/2008, Andrew <[EMAIL PROTECTED]> wrote: > I would like to set up a topic or queue so that when a client connects to > the broker and subscribes to that topic he receives a refresh of all the > messages sent so far on that topic that day. At midnight the broker should > purge the day's

Re: What is ACL?

2008-03-06 Thread James Strachan
On 06/03/2008, Natit <[EMAIL PROTECTED]> wrote: > > I keep seeing the "ACL" keyword used over and over in the documentation, but > i can not find anywhere this is described. Access Control List -- James --- http://macstrac.blogspot.com/ Open Source Integration http://open.iona.com

Re: Send response to temporary queue gets stuck after 3900 sends

2008-03-10 Thread James Strachan
What acknowledgement mode are you using? On 10/03/2008, Michal Singer <[EMAIL PROTECTED]> wrote: > > hi. I am using activemq 5.0.0 broker embedded in spring. I use temporary > queues. > After calling jmsTemplate.convertAndSend exactly 3990 times, the response > will get stuck and not > be del

Re: Jconsole accumulates a list of topics when i only create queues

2008-03-10 Thread James Strachan
On 10/03/2008, Michal Singer <[EMAIL PROTECTED]> wrote: > > I use activemq 5.0 broker embedded in spring. > When i observe a jconsole, i see the queues and temporary queues in a > correct list, but i also see > the queus in the topics list accumulate there. > They are not topics so there is no

Re: JBoss Messaging Stomp Configuration

2008-03-10 Thread James Strachan
Great stuff! I've added this page to the STOMP wiki http://docs.codehaus.org/display/STOMP/StompConnect+with+JBoss On 10/03/2008, Johann Ungerer <[EMAIL PROTECTED]> wrote: > Hi all, > > After some fun and games, we managed to configure STOMPConnect to work with > JBOSS. Thought I'd share our ex

Re: Jconsole accumulates a list of topics when i only create queues

2008-03-11 Thread James Strachan
On 11/03/2008, Michal Singer <[EMAIL PROTECTED]> wrote: > > You are right. I am seeing the advisory topics. I don't understand why I it > accumulates many: > ActiveMQ.Advisory.Producer.Queue. what does it mean? They are all described on the advisory message page... http://activemq.apache.org/ad

Re: Configuration Confusion

2008-03-11 Thread James Strachan
On 11/03/2008, Adam Sherman <[EMAIL PROTECTED]> wrote: > I have been confused on this list before, but here I am again. :-) > > I need to configure my brokers to fault-tolerant in a two-node > cluster. I'm configuring this directly inside Spring. > > I believe I need to use some form of auto-dis

Re: Looking for Sample Code JMS 1.02b

2008-03-11 Thread James Strachan
On 11/03/2008, pjagwani <[EMAIL PROTECTED]> wrote: > > Hi. > > Current configuration is Weblogic 8.1, JDK 1.4.2, ActiveMQ 5. > > Looking for code to connect to Active MQ using JMS 1.02b. ActiveMQ supports JMS 1.1 so you'll need to add the jms 1.1 jars to the system/boot classpath. ActiveMQ 5.x

Re: Constantly adding and removing consumer

2008-03-14 Thread James Strachan
This is a rather long story; the quick answer is, CacheLevelName should be set to CACHE_CONSUMER then the problem goes away. The longer answer is due to a spring bug, Camel could no longer default to using cache consumer to get transactional queue routing (e.g. take from a queue, send to one or

Re: Constantly adding and removing consumer

2008-03-14 Thread James Strachan
On 14/03/2008, Rob Davies <[EMAIL PROTECTED]> wrote: > > On 13 Mar 2008, at 23:19, patrickjamesbarry wrote: > > > > > I have seen this same behaviour an am interested in any info on this! > > > > > > > > david.la wrote: > >> > >> Hi, > >> > >> I'm using activemq with camel and when i tur

Re: Receipt of Simple Text Message

2008-03-17 Thread James Strachan
On 17/03/2008, Gary Jarrel <[EMAIL PROTECTED]> wrote: > Hi All! > > I've very new to ActiveMQ and my research so far has proven fruitless. > > I need to be able to receive simple one line text messages from a remote > server. > > I do not have any control over this server hence I can not reques

Re: Change from Derby to Oracle in production!

2008-03-17 Thread James Strachan
Just empty your queues then change your activemq.xml. Or you could use Camel to move messages from your queues to another broker running against Oracle. On 17/03/2008, Nirav <[EMAIL PROTECTED]> wrote: > > I am using ActiveMQ 3.2 in one of our project which is already in production. > > Now req

Re: Problems with disabling Advisory Support

2008-03-17 Thread James Strachan
Advisories are required to support temporary destinations On 17/03/2008, Michal Singer <[EMAIL PROTECTED]> wrote: > > Hi. I tried to disable Advisory Support using advisorySupport="false" since i > see that temp queus are > occumulated there for no reason eveb after deletion. > > However, i ge

Re: messages don't find their way to consumer

2008-03-17 Thread James Strachan
Does your application work when using a single broker without using store & forward networking? On 17/03/2008, flachwassertiroler <[EMAIL PROTECTED]> wrote: > > Hi all, > > I'm a total newbie to ActiveMQ and JMS in general, so here's my question: > > I have a topic publisher and a subscriber. E

Re: Problem running ActiveMq 5.0.0 on java 1.4.x

2008-03-18 Thread James Strachan
On 18/03/2008, elFerZur <[EMAIL PROTECTED]> wrote: > > Hi, I don't understand this: "ActiveMQ can be run on a Java 1.4.x system, Which wiki page did you see that on? Its basically out of date. > however, Java 1.5 is required to compile/build ActiveMQ". When I try to run > ActiveMq, I get the

Re: Camel routing doesn't work when jms bridging is active

2008-03-18 Thread James Strachan
Could you show us the complete activemq.xml that doesn't work? On 18/03/2008, puska <[EMAIL PROTECTED]> wrote: > > Hi, > > I'm using Camel to route messages depending on their content. > I wrote some java classes and point to their package in camelContext tag: > >xmlns="http://activemq.apac

Re: Camel routing doesn't work when jms bridging is active

2008-03-18 Thread James Strachan
Yes its an XML namespace issue. Either add to your last element the: xmlns="http://www.springframework.org/schema/beans"; or move the last element nearer the top (before any non-spring xmlns="..." statements On 18/03/2008, puska <[EMAIL PROTECTED]> wrote: > > Here it is: > > > xmlns="htt

Re: setting a MessageListener on a consumer?

2008-03-25 Thread James Strachan
On 24/03/2008, Andrew M <[EMAIL PROTECTED]> wrote: > I'm using the method below to create a Topic and Consumer and register my > MessageListener. I'm worried that with a retroactive consumer I'm missing > messages between the .createConsumer() method and when the MessageListener > is actually r

Re: COMMIT TRANSACTION 要求沒有對應的 BEGIN TRANSACTION

2008-03-26 Thread James Strachan
On 26/03/2008, JS75 <[EMAIL PROTECTED]> wrote: > > Dear All: > > I use MQ 4.1 to replace my internal queue, and I'd like it to be persisitent > by SQL 2005. > Every thing goes well~!! > > Only one thing, I found warning like this ... >[java] 2008-03-26 15:36:25.390 WARN >[main] org.apa

Re: ActiveMQ Connection factory not found

2008-03-26 Thread James Strachan
Could you show the classpath and full console output please? On 26/03/2008, SUHAS_WEBSPIDERS <[EMAIL PROTECTED]> wrote: > > Hi All, > > I am very new in Active mq. > I have face some surprising problem . > I am running the active mq server in linux and comnnect it with my > application by my

Re: Restricting Multicast Discovery

2008-03-28 Thread James Strachan
On 27/03/2008, carbon60 <[EMAIL PROTECTED]> wrote: > > I apologize for asking basic questions! I am trying to configure multicast > discovery among brokers on an insecure network. Is this possible or a good > idea? > > I don't know much about multicast, so I don't understand how to restrict >

Re: Restricting Multicast Discovery

2008-03-28 Thread James Strachan
On 28/03/2008, carbon60 <[EMAIL PROTECTED]> wrote: > > > James.Strachan wrote: > > > > On 27/03/2008, carbon60 <[EMAIL PROTECTED]> wrote: > >> I apologize for asking basic questions! I am trying to configure > >> multicast > >> discovery among brokers on an insecure network. Is this possibl

Re: Unrecognized xbean element mapping: property in namespace http://activemq.org/config/1.0

2008-04-02 Thread James Strachan
Which ActiveMQ distro are you using? On 02/04/2008, Dhruba Bandopadhyay <[EMAIL PROTECTED]> wrote: > Hi all, > > Please find two attached files. > > problem_activemq.xml - gives configuration which causes problem > problem_error_message.log - gives exception stack trace on startup > > This con

Re: ActiveMQ and Camel

2008-04-07 Thread James Strachan
On 07/04/2008, Valerio VALDEZ Paolini <[EMAIL PROTECTED]> wrote: > Hi, > > I've been using ActiveMQ for some time and now I'm trying to figure out how > to leverage EIP via Camel. However, being completely new to Java and coming > from a Perl background, I'm experiencing some difficulties even r

Re: how AMQ works

2008-04-07 Thread James Strachan
On 05/04/2008, Mohammad Reza Selim <[EMAIL PROTECTED]> wrote: > Hi, > > I am trying to understand how AMQ works. Can anybody tell me how toimplement > the following scenario. A short list of algorithmic statements is enough for > me. > > The clients will work just like an e-mail client. They c

Re: Sending message from EJB3: poor performances after a while

2008-04-09 Thread James Strachan
You are not using your J2EE providers JMS proxy to cache things; you are using vanilla JMS. So try using the PooledConnectionFactory from ActiveMQ instead. On 09/04/2008, paoletto <[EMAIL PROTECTED]> wrote: > > i wrote the following Stateless Session Bean, and ran in a j2ee application > on jb

Re: Sending message from EJB3: poor performances after a while

2008-04-09 Thread James Strachan
See http://activemq.apache.org/how-do-i-use-jms-efficiently.html On 09/04/2008, James Strachan <[EMAIL PROTECTED]> wrote: > You are not using your J2EE providers JMS proxy to cache things; you > are using vanilla JMS. > > So try using the PooledConnectionFactory fro

Re: Connection pooling when use the .NET Messaging API (NMS)

2008-04-16 Thread James Strachan
On 17/04/2008, jimmyfrank <[EMAIL PROTECTED]> wrote: > > I'm using the .NET Messaging API to send and receive messages from ActiveMQ. > How would I pool connections? Do I need to at all or is it handled somehow > for me by the broker? I can find several forum posts that talk about > connectio

Re: Connection pooling when use the .NET Messaging API (NMS)

2008-04-17 Thread James Strachan
On 17/04/2008, jimmyfrank <[EMAIL PROTECTED]> wrote: > > The application would be either a webservice or an .aspx page a user would > hit. So a user might enter some info on a page with a form and then I'd > need to create all the activemq resources and send the message. Since it's > stateles

Re: What is best practice for creating Producers?

2008-04-18 Thread James Strachan
BTW there's a FAQ entry about this... http://activemq.apache.org/how-do-i-use-jms-efficiently.html On 18/04/2008, Rob Davies <[EMAIL PROTECTED]> wrote: > > On 18 Apr 2008, at 06:26, Aidan wrote: > > > > > > Hi, > > > > I am using ActiveMQ 5 and am having an issue with my server (running > > embed

Re: How can i contribute to the AMQ-documentation?

2008-04-22 Thread James Strachan
On 22/04/2008, j0llyr0g3r <[EMAIL PROTECTED]> wrote: > > Hey, > > sorry for digging out this old thread, but. > > After this 2 threads: > > > *http://www.nabble.com/Simple-authentication-not-working%3A-Unrecognized-xbean-element-mapping%3A-authenticationUser-td16765832s2354.html > > *htt

Re: Creating queue and accessing them through different session

2008-04-23 Thread James Strachan
On 18/04/2008, gupabhi <[EMAIL PROTECTED]> wrote: > > Hi, > I'm new to ActiveMQ. Here is my usecase: I want to create a queue using > a non-transacted session. Put in a message in that queue. And then access > the message from that queue from a different transacted session. > > To put in

Re: AMQNET Nms cannot use multiple connections, gets InvalidClientIDException

2008-04-23 Thread James Strachan
On 23/04/2008, StefanL <[EMAIL PROTECTED]> wrote: > > I'm trying to upgrade our activemq-dotnet from September 2007 to current > revision. > I though get an error in our code which creates multiple connections to the > broker and I get the > javax.jms.InvalidClientIDException: Client: already

Re: sending message from an external client

2008-04-29 Thread James Strachan
>From an external client its often easier to just create an ActiveMQConnectionFactory rather than use JNDI. Or use Spring 2008/4/29 DA <[EMAIL PROTECTED]>: > > Hi all, > My application runs on jboss and i configured activewq for > messsaging.everything is working fine messaging r flowing fine.N

Re: sending message from an external client

2008-04-29 Thread James Strachan
2008/4/29 DA <[EMAIL PROTECTED]>: > > i have created ActiveMQConnectionFactory and it is working .But i want the > code to be generic so that even if i change messaging from activemq to some > other thing my code should work fine with out any changes. Use Spring then? -- James --- http://

Re: JBoss and ActiveMQ with remote JNDI

2008-04-29 Thread James Strachan
2008/4/29 Alex Soto <[EMAIL PROTECTED]>: > I also have the same problem. > The suggestions I've seen is to instantiate ActiveMQConnectionFactory > instead of getting it from JNDI. As a workaround it is satisfactory but > this solution does not go very far. Certainly it does not help if the client

Re: [ANNOUNCE] Apache ActiveMQ 5.1.0

2008-05-08 Thread James Strachan
Has anyone managed to reproduce AMQ-1662 on 5.1.0? 2008/5/8 realSri <[EMAIL PROTECTED]>: > > Hi, > > Reg: AMQ 5.0 Stable release "PS Old Gen" Memory is growing continuously > (http://issues.apache.org/activemq/browse/AMQ-1662) > > Thanks for the 5.1 release ! Could you please give an update on

Re: AMQ 5.1 - How to get a list of Queues

2008-05-08 Thread James Strachan
It does take a little while for some destinations to show up as they are typically loaded asynchronously on the JMS client - does sleeping for a second or so help? 2008/5/8 shaf <[EMAIL PROTECTED]>: > > Hello, > > I am trying to get a list of existing Queues with the following code: > >

Re: AMQ 5.1 - How to get a list of Queues

2008-05-08 Thread James Strachan
BTW you can listen to destinations being added/removed by calling the setDestinationListener method on the DestinationSource 2008/5/8 shaf <[EMAIL PROTECTED]>: > > Hello, > > I am trying to get a list of existing Queues with the following code: > > ActiveMQConnectionFactory connectionF

Re: AMQ 5.1 - How to get a list of Queues

2008-05-08 Thread James Strachan
2008/5/8 shaf <[EMAIL PROTECTED]>: > > Thanks guys, so when I try to create a Queue using the following: > > ActiveMQSession session = > this.con.getConnection().createSession(false, > Session.AUTO_ACKNOWLEDGE); > // create queue > Queue request = session.createQueue( nam

Re: Detect consumers?

2008-05-08 Thread James Strachan
2008/5/8 beaker <[EMAIL PROTECTED]>: > > Hello, > > is it possible for a producer to detect, if there are any consumers on the > topic/queue he is sending? Yes - you can use advisories... http://activemq.apache.org/advisory-message.html e.g. try using the ConsumerEventSource helper class... ht

  1   2   3   4   5   6   7   8   9   10   >