Re: How do I deploy the "ActiveMQ-fileserver" webapp into tomcat while using BlobMessage?

2010-05-13 Thread ireneshy
yeah, right. That'll be very convenient for cleaning files after cosuming. We really appreciate that. Dejan Bosanac wrote: > > Hi, > > on a second look deleteFile() is not implemented for FTP strategy. I need > to > implement it for FTP and make it accessible via ActiveMQBlobMessage > interfac

activemq network of brokers

2010-05-13 Thread gnanda
Hi All, I am doing a proof of concept to test network of brokers across firewall I have two brokers running in one network domain (no firewall) and I have multicast configuration between them I have two more brokers in another network domain (no firewall) and I have multicast configuration between

Re: javax.jms.JMSException: Transaction 'TX:ID...' not started

2010-05-13 Thread Gary Tully
odd, can you expand on what you did. Did you download trunk? What platform are you on? Did u make any changes like run against an external broker? On 13 May 2010 13:15, sbuster wrote: > > Gary, > Thanks for the response! I downloaded the JmsRollbackRedeliveryTest and > get > the same results,

Re: javax.jms.JMSException: Transaction 'TX:ID...' not started

2010-05-13 Thread sbuster
Gary, Thanks for the response! I downloaded the JmsRollbackRedeliveryTest and get the same results, plus once a few test cases execute it hangs. BTW, none of hte test cases are successful. here is the output. May 13, 2010 7:12:39 AM org.apache.activemq.JmsRollbackRedeliveryTest doTestRedeliver

Re: How do I deploy the "ActiveMQ-fileserver" webapp into tomcat while using BlobMessage?

2010-05-13 Thread Dejan Bosanac
Hi, on a second look deleteFile() is not implemented for FTP strategy. I need to implement it for FTP and make it accessible via ActiveMQBlobMessage interface, like ((ActiveMQBlobMessage)message).deleteFile(); Cheers -- Dejan Bosanac - http://twitter.com/dejanb Open Source Integration - http://

Re: Unable to load balance

2010-05-13 Thread Gary Tully
I ran up a simple test that demonstrates load balancing, possibly compare it to what you have or expect. see: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/usecases/TwoBrokerNetworkLoadBalanceTest.java?view=markup On 12 May 2010 19:02, BenD wrote: >

Re: How do I deploy the "ActiveMQ-fileserver" webapp into tomcat while using BlobMessage?

2010-05-13 Thread Dejan Bosanac
Hi, yeah, this seems like a proper way to do it (I seems to missed it before). So after you consume the message, just use strategy to delete the file. I'll document it later and close the issue. Thanks for the pointer. Cheers -- Dejan Bosanac - http://twitter.com/dejanb Open Source Integration -

Re: How do I deploy the "ActiveMQ-fileserver" webapp into tomcat while using BlobMessage?

2010-05-13 Thread ireneshy
Hi, Thanks for your help. About deleting files, I've seen code here:http://fisheye6.atlassian.com/browse/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/blob/DefaultBlobUploadStrategyTest.java?r=HEAD I think there is some code that be used for reference: BlobTransferPoli

Re: How do I deploy the "ActiveMQ-fileserver" webapp into tomcat while using BlobMessage?

2010-05-13 Thread Dejan Bosanac
Hi, all you have to do is to define jms.blobTransferPolicy.defaultUploadUrl in your broker url, like vm://localhost?jms.blobTransferPolicy.defaultUploadUrl=ftp://activemq:activ...@localhost /blob Take a look at FTPBlobTest for more info http://fisheye6.atlassian.com/browse/activemq/trunk/active

Re: Activemq comunication causes out of memory

2010-05-13 Thread dimitarn
I don't use activemq on the client(the jboss AS) i use my jms handler. Please tell me if there is anything wrong. [CODE] import java.util.Properties; import javax.jms.JMSException; import javax.jms.Session; import javax.jms.Topic; import javax.jms.TopicConnection; import javax.jms.TopicConnect