Re: Keeping the messages in a queue or topic during a day

2011-05-30 Thread Marcelo Jabali
Composite destinations may help a bit in this case too. Something like: String brokerURI = ActiveMQConnectionFactory.DEFAULT_BROKER_URL; ConnectionFactory connectionFactory = new ActiveMQConnectionFactory(brokerURI); Connection connection = connectionFactory.createConnection(); connection.st

Re: Keeping the messages in a queue or topic during a day

2011-05-30 Thread Gary Tully
Use durable topic subscriptions and message time to live of 1 day. Virtual topics allow multiple consumers to share a subscription which could be usefull in the alert/logging system. A more customisable option is available via the pending message limit strategies for non durable topic subs. You can

Keeping the messages in a queue or topic during a day

2011-05-30 Thread serious
Hello, here are two scenarios that illustrate the point : - a logging system : some applications send exceptions messages to a topic/queue; a logging client will listen to the topic/queue. But each time the client picks a message, it is deleted from the queue and if the client stops and reconnects

Re: Support for Shared File System Master Slave using SAMBA/CIFS?

2011-05-30 Thread Johan Edstrom
Cifs / windows file-sharing works fine. On May 30, 2011, at 9:49 AM, Dejan Bosanac wrote: > Hi, > > I don't have any experience with setting it on cifs, but from little > googling seems like cifs supports file locking which is the only requirement > for this to work. It's best to try it out if yo

Re: Support for Shared File System Master Slave using SAMBA/CIFS?

2011-05-30 Thread Dejan Bosanac
Hi, I don't have any experience with setting it on cifs, but from little googling seems like cifs supports file locking which is the only requirement for this to work. It's best to try it out if you have that environment. Regards -- Dejan Bosanac - http://twitter.com/dejanb - Th

Support for Shared File System Master Slave using SAMBA/CIFS?

2011-05-30 Thread Magnus
Hello! One of our customers runs ActiveMQ on Windows servers and they now wants to ensure high availability by establish a master slave configuration according to http://activemq.apache.org/shared-file-system-master-slave.html http://activemq.apache.org/shared-file-system-master-slave.html using

Re: ActiveMQ on Android

2011-05-30 Thread Dejan Bosanac
Hi, I'd suggest you research some lightweight client options, such as - Stomp - http://activemq.apache.org/stomp.html or - Rest - http://activemq.apache.org/rest.html Regards -- Dejan Bosanac - http://twitter.com/dejanb - The experts in ope