Anyone using Embedded Broker in production?

2011-06-23 Thread Vijay
Is embedded broker efficient for using in production? can anyone share their thoughts? -- View this message in context: http://activemq.2283324.n4.nabble.com/Anyone-using-Embedded-Broker-in-production-tp3621799p3621799.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Master/slave configuration

2011-06-23 Thread eivindsi
Instead of having a client "connected" to the slave (the slave will not accept connections until the master dies, if I remember correctly), you should use only one client (JMS client 1) and use the failover transport. The client will then automatically start using the slave when the master dies. h

Re: Master/slave configuration

2011-06-23 Thread Johan Edstrom
failover. Dead is dead. On Jun 24, 2011, at 12:07 AM, Vijay wrote: > server1 > > Master > JMS client 1 connects to Master > > Server2 > > Slave > JMS client 2 connects to slave > > > I need clarification on following scenarios. > > 1.If master dies, slave is still keeping J

Master/slave configuration

2011-06-23 Thread Vijay
server1 Master JMS client 1 connects to Master Server2 Slave JMS client 2 connects to slave I need clarification on following scenarios. 1.If master dies, slave is still keeping JMS client 1 connections. Is there a way to delete these connections once the master dies ? 2. I

Broker forwards msg only once or twice then msg stuck in queue.

2011-06-23 Thread Joe Smith
Hi, We have a cluster of 4 brokers (A, B, C, D).  The test scenario is for one produce connected to broker A. 1. producer sends msgs to broker A's queue. 2. stop producer. we see pending messages in queue on broker A. 3. consumer connect to broker D.  consumer recv msgs. 4. stop consumer. we see

Re: Rate limiting message uploads to a broker

2011-06-23 Thread nw
Hi, Yeah, I looked at blob messages, the message streaming would be ideal as I could read bytes and pause, but I don't have shared resource between the two systems unfortunately. The broker-broker link is the only mechanism for propagating information across the tiers. Thanks, Nick -- View th

Re: Can ActiveMQ send GB size message?

2011-06-23 Thread jessezbj
But how about MB level sized message? I have to change the way of sending based on the message size. Thanks -- View this message in context: http://activemq.2283324.n4.nabble.com/Can-ActiveMQ-send-GB-size-message-tp3603404p3620713.html Sent from the ActiveMQ - User mailing list archive at Nabbl

Re: Session.unsubscribe

2011-06-23 Thread Paul Woodward
Hi Gary, I should have said that according to JMX, there are zero consumers on that topic after unsubscribe. I'm very puzzled. Paul On 23 Jun 2011, at 18:23, Gary Tully wrote: > your understanding is correct, sounds like there is some other > consumer on there. > > checkout the test case:

Re: unit test with expired advisory

2011-06-23 Thread john
Thanks for the info Gary. Unfortunately I'm using version 5.3.1 which doesn't support that configuration value. It's good to see it there for when we do move to a newer version! Thanks again! -john -- View this message in context: http://activemq.2283324.n4.nabble.com/unit-test-with-expired-adv

Re: Session.unsubscribe

2011-06-23 Thread Gary Tully
your understanding is correct, sounds like there is some other consumer on there. checkout the test case: org.apache.activemq.usecases.DurableSubscriptionOfflineTest#testRemovedDurableSubDeletes or some variant if to validate what you are seeing. http://svn.apache.org/viewvc/activemq/trunk/active

Re: How to determine network of Brokers

2011-06-23 Thread jai.mathaiyan
The Test class seems to have a code snippet for my problem. Thanks Gary and Torsten. -- View this message in context: http://activemq.2283324.n4.nabble.com/How-to-determine-network-of-Brokers-tp3597322p3620484.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

ActiveMQ Master/Slave dead/zombie connections issue

2011-06-23 Thread Vijay Reddy
Excuse me if you recieved this mail twice. I tried to post it on nabble site but somehow it is not forwarding it to users@activemq.apache.org. Never found a similar issue on this forum and hence this post. I am using AMQ 5.5.0 with pure Master/slave configuration (with and without persistence).

Re: Durable subscriptions not surviving network disconnect

2011-06-23 Thread Gary Tully
can you raise a jira with your description or try and recreate in a junit test case On 23 June 2011 11:50, Andreas Calvo wrote: > We've been stuck with the same problem (in a different scenario). > We've tried to replicate the same behavior using the examples on activemq > (ant producer, ant cons

ActiveMQ Master/Slave dead/zombie connections issue

2011-06-23 Thread vbandaru
Never found a similar issue on this forum and hence this post. I am using AMQ 5.5.0 with pure Master/slave configuration (with and without persistence). Master/slave configuration seems to be Okay interms of : Message replication to slave wh

Re: Tracing Broker to Producer Acks

2011-06-23 Thread Gary Tully
use trace=true on the brokerURL to see all commands, including the producerAck from the broker. see: http://activemq.apache.org/tcp-transport-reference.html On 17 June 2011 11:35, Ozan Seymen wrote: > Hi, > > Is there any way for me to trace acks sent from broker to producer? Are there > any con

Re: Message loss in network of brokers - transactional send

2011-06-23 Thread Gary Tully
if you can reproduce this issue with the current 5.5 release, can you raise a jira issue to track this? thanks. On 16 June 2011 13:45, oseymen wrote: > Here is some more info: > > I enabled debug logging and can see where the problem is (however I still > don't know what the solution is). > > I r

Re: AMQ-3353 Durable subscribers on durable topics don't receive messages after network disconnect

2011-06-23 Thread Joe Niski
Thanks, Syed, for opening this defect - and Andreas for chiming in. It gives me confidence that i didn't miss something obvious in my configurations. *Joe Niski* Senior Developer - Information Services | NWEA™ PHONE 503.548.5207 | FAX 503.639.7873 NWEA.ORG | Partnering

Re: How to determine network of Brokers

2011-06-23 Thread Gary Tully
have a look at org.apache.activemq.JmsMultipleBrokersTestSupport#waitForBridgeFormation http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/JmsMultipleBrokersTestSupport.java?view=markup On 14 June 2011 19:12, jai.mathaiyan wrote: > I have a requirement to

Re: Messages getting stuck on one broker

2011-06-23 Thread Gary Tully
This is a known issue: https://issues.apache.org/jira/browse/AMQ-2324 but I think this should be configurable, at least it should be possible to allow resending back to the origin broker when there are no local consumers. There are issues with duplicate detection in the cursors but otherwise it sh

Re: unit test with expired advisory

2011-06-23 Thread Gary Tully
there is the expireMessagesPeriod attribute in a destination policy, you can set this via the activemq xml. Have a peek at http://activemq.apache.org/per-destination-policies.html On 14 June 2011 19:27, john wrote: > As a bit more information, I turned on debug for activemq when running my > test

Session.unsubscribe

2011-06-23 Thread Paul Woodward
Hi Guys, I'm trying to understand the exact behaviour of session.unsubscribe() when using a durable consumer on a topic in ActiveMQ 5.5. The scenario I have is as follows: 1. I create a message producer continuously publishing to a topic. 2. I create a single durable message consumer. 3. Later,

Re: activemq wont start

2011-06-23 Thread Torsten Mielke
Its not recommended to run the broker using java -jar run.jar only. the activemq scripts does a good bit more that only kicking off java. Regarding the issue with the activemq script, what shell do you use to run it? Try bash or sh. It should work on these shells. Have you set any ACTIVEMQ_* envi

activemq wont start

2011-06-23 Thread etienne_63
Hi, I'm in linux sles11 and trying to install activemq for mcollective. When I start activemq i get this message: /usr/bin/activemq: line 80: cd: ../lib/activemq/bin/..: No such file or directory Unable to access jarfile /bin/run.jar When I go to the run.jar in questions and try to start this me

Re: AMQ-3353 Durable subscribers on durable topics don't receive messages after network disconnect

2011-06-23 Thread sfali16
We were able to tweak settings on the publisher's broker as a work around to get the subcriber registration after network disconnect to work. suppressDuplicateTopicSubscriptions=false However, this might cause other issues that we just haven't run into yet. On Thu, Jun 23, 2011 at 6:57 AM, Andre

Re: discovery in Activemq

2011-06-23 Thread ramesh.krg
Hi All Please look into the issue and help us to solve the same thanks. -- View this message in context: http://activemq.2283324.n4.nabble.com/discovery-in-Activemq-tp3587771p3619873.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

web console for embedded broker

2011-06-23 Thread fachhoch
I have active mq embedded in my app I also want to embed active mq web console , can I do that are there any example ? -- View this message in context: http://activemq.2283324.n4.nabble.com/web-console-for-embedded-broker-tp3619829p3619829.html Sent fro

Re: Logging configuration errors during startup

2011-06-23 Thread Dejan Bosanac
Sure, ActiveMQ uses Spring to load the configuration, so just set "org.springframework" logger to desired level. Regards -- Dejan Bosanac - http://twitter.com/dejanb - The experts in open source integration and messaging - http://fusesource.com ActiveMQ in Action - http://www.mann

Re: Master/slave + cluster leaves messages on slave

2011-06-23 Thread eivindsi
OK. My first Jira post, hope I didn't mess it up: https://issues.apache.org/jira/browse/AMQ-3376 -- View this message in context: http://activemq.2283324.n4.nabble.com/Master-slave-cluster-leaves-messages-on-slave-tp3617053p3619565.html Sent from the ActiveMQ - User mailing list archive at Nabble

Re: AMQ-3353 Durable subscribers on durable topics don't receive messages after network disconnect

2011-06-23 Thread Andreas Calvo
Same here. Seems to be a common problem with latest activemq versions -- View this message in context: http://activemq.2283324.n4.nabble.com/AMQ-3353-Durable-subscribers-on-durable-topics-don-t-receive-messages-after-network-disconnect-tp3582806p3619480.html Sent from the ActiveMQ - User mailing

Re: Durable subscriptions not surviving network disconnect

2011-06-23 Thread Andreas Calvo
We've been stuck with the same problem (in a different scenario). We've tried to replicate the same behavior using the examples on activemq (ant producer, ant consumer, and static-network-broker), and, as Joe said, the activemq seems to reconnect just fine, but the clients get stuck. -- View this

Logging configuration errors during startup

2011-06-23 Thread Tom
Hi, Is there any way to get more verbose logging of errors when activemq reads its config file? For example, simply adding a random character to break the XML will mean that activemq dies silently on startup with no error message in ../data/activemq.log It feels like I've missed something really o

Re: Master/slave + cluster leaves messages on slave

2011-06-23 Thread Dejan Bosanac
Sounds like bug. Can you create a test case and raise a Jira? Regards -- Dejan Bosanac - http://twitter.com/dejanb - The experts in open source integration and messaging - http://fusesource.com ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.net O

Re: Rate limiting message uploads to a broker

2011-06-23 Thread Dejan Bosanac
Did you consider using blob messages ( http://activemq.apache.org/blob-messages.html). This would have your JMS messages be small and the actual payload transferrer using some other server (FTP for example). Regards -- Dejan Bosanac - http://twitter.com/dejanb - The experts in ope

Re: ActiveMQ 5.5 broker + jaas plugin

2011-06-23 Thread Dejan Bosanac
You need to have your tags alphabetically ordered or disable schema validation. See http://activemq.apache.org/xml-reference.html#XmlReference-AlphabeticallyOrderedXMLElements%28Newin5.4%29 for more info. Regards -- Dejan Bosanac - http://twitter.com/dejanb - The experts in ope

Re: Channel was inactive for too long. sigh

2011-06-23 Thread Dejan Bosanac
Glad you resolved. Thanks for closing the loop. Regards -- Dejan Bosanac - http://twitter.com/dejanb - The experts in open source integration and messaging - http://fusesource.com ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.net On Wed, Jun 22,