Removing a Destination from Broker

2008-07-14 Thread Yohan Liyanage
Hi, I tried to use BrokerService.removeDestination() method to remove a Queue from my Broker. The method returned without any exception. But I was able to see the Queue in JMX Console. Does this mean that the destination was not removed ? Thanks. -- View this message in context: http://www.

Spring JmsTemplate receive() returns null with messages in Queue

2008-07-11 Thread Yohan Liyanage
Hi, I tried to use JmsTemplate's receive() method for synchronous consumption of a Queue, but the method returns 'null', even when there are messages in the queue. The JmsTemplate (with a time out of two seconds) successfully receives first messages, but after a while, it is not able to consume

Re: Filtering messages in a Network of Brokers

2008-07-10 Thread Yohan Liyanage
Thanks Rob! But I wanted to filter several messages, not destinations :S. With wildcards, I can only filter based on destination name is it? rajdavies wrote: > > > On 10 Jul 2008, at 14:13, Yohan Liyanage wrote: > >> >> Hi, >> >> Is there anyway to fil

Re: Filtering messages in a Network of Brokers

2008-07-10 Thread Yohan Liyanage
g/security.html > > Or a filter message pattern via Camel > > http://activemq.apache.org/camel/message-filter.html > > Joe > www.ttmsolutions.com > > > > Yohan Liyanage wrote: >> >> Hi, >> >> Is there anyway to filter messages in a

Filtering messages in a Network of Brokers

2008-07-10 Thread Yohan Liyanage
Hi, Is there anyway to filter messages in a network of brokers (Store and Forward) ? For example, is there anyway to avoid forwarding messages which contains a specific property, etc to other brokers? Thanks in advance. -- View this message in context: http://www.nabble.com/Filtering-messages

Re: Error in Eclispe XML Editor when 'amq' namespace used

2008-05-17 Thread Yohan Liyanage
/activemq.apache.org/camel/schema/spring/camel-spring-1.3.0.xsd > > Thanks, >Aaron > > On Sat, May 17, 2008 at 1:20 AM, Yohan Liyanage <[EMAIL PROTECTED]> > wrote: >> >> Thanks for the reply Hiram, >> >> I have included activemq-all-5.1.0

Re: Error in Eclispe XML Editor when 'amq' namespace used

2008-05-16 Thread Yohan Liyanage
or element 'amq:broker' is located inside > the activemq-core jar. Is that in your classpath? > > On Sun, May 11, 2008 at 3:56 AM, Yohan Liyanage <[EMAIL PROTECTED]> > wrote: >> >> Hi, >> >> I tried to create an embedded broker in a Spring Bean

Error in Eclispe XML Editor when 'amq' namespace used

2008-05-11 Thread Yohan Liyanage
Hi, I tried to create an embedded broker in a Spring Bean Configuration, as shown in ActiveMQ Documentation. The application runs as intended, but the Eclipse XML Editor shows an error in the Bean Configuration File, at the line where is declared: schema_reference.4: Failed to read schema docu

Re: HTTP : Received null command

2008-01-21 Thread Yohan Liyanage
James.Strachan wrote: > > On 21/01/2008, Yohan Liyanage <[EMAIL PROTECTED]> wrote: >> >> Hi, >> >> I created a small JMS app using ActiveMQ and tested it on various >> transports. When I'm using http transport, I keep getting the following >

HTTP : Received null command

2008-01-21 Thread Yohan Liyanage
Hi, I created a small JMS app using ActiveMQ and tested it on various transports. When I'm using http transport, I keep getting the following warning: WARN - Received null command from url: http://localhost:61616 This happens after a period of inactivity. What could be the reason for this? Tha

Re: Unknown data type: 47 ?

2008-01-21 Thread Yohan Liyanage
trace you are using TCP; are you connecting TCP on the > client to HTTP on the server? > > On 20/01/2008, Yohan Liyanage <[EMAIL PROTECTED]> wrote: >> >> Hi, >> >> I was trying out ActiveMQ 5 transports (using Spring 2.5 JmsTemplate) and >> I >&

Re: ActiveMQ Examples

2008-01-20 Thread Yohan Liyanage
bsnyder wrote: > > I just searched the ActiveMQ source for the file and found it here: > > https://svn.apache.org/repos/asf/activemq/trunk/activemq-core/src/test/resources/org/apache/activemq/usecases/receiver.xml > > Bruce > Thanks Bruce ! I think that the ActiveMQ Documentation could do

Unknown data type: 47 ?

2008-01-20 Thread Yohan Liyanage
Hi, I was trying out ActiveMQ 5 transports (using Spring 2.5 JmsTemplate) and I get this strange error when I am using HTTP Transport : org.apache.activemq.ConnectionFailedException: The JMS connection has failed: Unknown data type: 47 at org.apache.activemq.ActiveMQConnection.checkClos

Re: Is bidirectional bridging of two brokers possible?

2008-01-19 Thread Yohan Liyanage
vmatic wrote: > > Hi, > > I have installed two brokers (ActiveMQ 4.x) on which producers are > creating queues with identical names. At some point I need to > interconnect these two brokers to enable message flow between them. My > idea is to create a queue in the first one eq. out1.que

ActiveMQ Examples

2008-01-19 Thread Yohan Liyanage
Hi, I was wondering where I could download the example code of ActiveMQ Feature articles. For example, In " http://activemq.apache.org/networks-of-brokers.html Networks of Brokers " page (bottom), there is a Try Out saying to use: maven -o server -Dconfig=xbean:file:src/test/resources/org/apac

Re: Broker Networks - Forwarding a message only to chosen brokers

2008-01-19 Thread Yohan Liyanage
rajdavies wrote: > > You can configure networks to forward to certain destinations only > down a network connection - see > http://activemq.apache.org/networks-of-brokers.html > for information on including, excluding destinations. It might be > best to dimension your network topology u

Broker Networks - Forwarding a message only to chosen brokers

2008-01-18 Thread Yohan Liyanage
Hi, Consider a situation where a network of brokers are configured. Is it possible to send a message which will only be forwarded to a chosen set of brokers only ? Thanks ! -- View this message in context: http://www.nabble.com/Broker-Networks---Forwarding-a-message-only-to-chosen-brokers-tp

Re: OutOfMemoryError using 4.1.1

2007-11-05 Thread Yohan Liyanage
I came across this issue notice : https://issues.apache.org/activemq/browse/AMQ-1044 https://issues.apache.org/activemq/browse/AMQ-1044 "If async error such as a inactivity IO exception is detected while a subscription is being created, then that subscription is not fully cleaned up when the c

Re: Not able to receive messages using 'http' (transportConnector) connection

2007-11-05 Thread Yohan Liyanage
I came across this ActiveMQ Issue notice : https://issues.apache.org/activemq/browse/AMQ-1044 https://issues.apache.org/activemq/browse/AMQ-1044 -- View this message in context: http://www.nabble.com/Not-able-to-receive-messages-using-%27http%27-%28transportConnector%29-connection-tf4716718s23

Re: Not able to receive messages using 'http' (transportConnector) connection

2007-11-05 Thread Yohan Liyanage
krv wrote: > > I am getting the following warning in the ActiveMQ console: > > WARN ManagedTransportConnection - Failed to register MBean: > org.apache.activemq:BrokerName=OM-BLR-LT-0657,Type=Connectio > n,ConnectorName=http,ViewType=address,Name=blockingQueue > I also have the same pro