OpenWire vs. STOMP

2010-02-10 Thread praveen.sharma
What are the pros and cons of OPenWire and STOMP? The ones I know are that the former uses binary encoding while the latter utilize text-based encoding. Also, both of them operate on more or less similar underling protocols. I have also gone through all the documentation I could find on STOMP.

SimpleDataSet doesn't generate data when message size is 1000,000

2009-12-08 Thread praveen.sharma
Data publisher hangs for almost 10 minutes or so when message size for simpledataset given is 1000,000. It works for message of size <= 100,000. This is strange since I have not turned on producer flow control, I am using default memory (64M), and my machine has 8G of memory.!! excerpt from ac

Message Persistence via Broker or JMS Message

2009-12-07 Thread praveen.sharma
What is the best way to ensure that messages persistence is turned off? I see two possible options - (1) turn off using JMS Message's delivery mode, (2) setting persistence flag to false in activemq.xml. On setting persistence off on broker using activemq.xml, the JMS message returns deliverym

Is property JMSActiveMQBrokerInTime really correct in Activemq trunk from svn checkout

2009-11-17 Thread praveen.sharma
Couple of questions: For jmsMessage (1) What is the relation between jmsTimeStamp, and properties: JMSActiveMQBrokerInTime, and JMSActiveMQBrokerOutTime? (2) Which one is more accurate jmsTimeStamp, and properties: JMSActiveMQBrokerInTime? Reason for asking this question is that I have message

Interpretting perf-test report - using activemq-tooling plugins

2009-10-27 Thread praveen.sharma
How do you interpret the following line? Is this really cpu or it has memory (like swao, free,...) included in it? What does EMM stand for in 27648.42083334 - Exponentially moving ?? -- View this message in context: http://www.nabble.com/Interpretting-perf-test-report---using-activemq-to

Difference between SimpleDispatchPolicy and RoundRobinDispatch Policy

2009-10-26 Thread praveen.sharma
What is the difference between SimpleDispatchPolicy and RoundRobinDispatch Policy? -- View this message in context: http://www.nabble.com/Difference-between-SimpleDispatchPolicy-and-RoundRobinDispatch-Policy-tp26064130p26064130.html Sent from the ActiveMQ - User mailing list archive at Nabble.c

Inconsistency in camel jms URL attribute interactions

2009-10-22 Thread praveen.sharma
When Camel-jms URL is set as jmsPath=jms:topic:test.MyImgTopic?priority=7&timeToLive=1000 I get what seemed like correct output from the JMS message: jmsExpiration: 1256242649150 jmsTimeStamp: 1256242648150 jmsPriority: 7 jmsDeliveryMode: 2 jmsMsgID: ID:padua-37812-1256242647963-0:0:1:1:1 defa

Re: Inconsistencies in setting broker URL and the information retrieved from JmsMessage

2009-10-22 Thread praveen.sharma
uot; defaultPriority: " + msg.getJmsMessage().DEFAULT_PRIORITY + " defaultTTL: " + msg.getJmsMessage().DEFAULT_TIME_TO_LIVE + " defaultDeliveryMode: " + msg.getJmsMessage().DEFAULT_DELIVERY_MODE

Accessing values for JMS URI attributes set for Camel but do not have a interface to retrieve

2009-10-22 Thread praveen.sharma
I would like to understand the following: How can I get access to other values that are set in JMS URL for camel endpoint but sdo not have an interface to retrieve. For instance, how can I get back "jms.useCompression=true"? -- View this message in context: http://www.nabble.com/Accessing-valu

Inconsistencies in setting broker URL and the information retrieved from JmsMessage

2009-10-22 Thread praveen.sharma
I am discovering some inconsistencies in the values I set on the broker URL (used by the camel endpoint - passed through the spring configuration), and the values I retrieve from the jms message. In particular, I found deliveryMode, priority are incorrect. Can someone help me resolve these incon

Possible causes of end-to-end packet loss in Activemq, and TCP protocol

2009-10-15 Thread praveen.sharma
What are the possible causes of packet loss in activemq even with TCP protocol. One possible cause that I can think of is TTL expiring. What are different ways of measuring packet loss? -- View this message in context: http://www.nabble.com/Possible-causes-of-end-to-end-packet-loss-in-Activem

Difference between activemq-systest, activemq-perftest, activemq-soaktest in apache-activemq-5.3.0.4-fuse

2009-10-14 Thread praveen.sharma
What is the difference among activemq-systest, activemq-perftest, activemq-soaktest in apache-activemq-5.3.0.4-fuse? Is their any documentation anywhere? -- View this message in context: http://www.nabble.com/Difference-between-activemq-systest%2C-activemq-perftest%2C-activemq-soaktest-in-apach

Activemq-perftest not producing any output in apache-activemq-5.3.0.4-fuse

2009-10-14 Thread praveen.sharma
I am not getting any output generated even though everything (broker, producer, and consumers) seem to be running! The "readme.html" says that the output would be in the current dir, but I couldn't find it anywhere! Consumer trace --- mvn activemq-perf:consumer [INFO] Scannin

Strategy to place camel plugins (transparently to the clients) in ApacheMQ

2009-10-08 Thread praveen.sharma
What is the best way to intercept the messages in a very granular way using camel plugins before the message enters ActiveMQ destination, and after it leaves ActiveMQ destination? What is the best strategy to place camel routes as proxy, but on the client side (on a host different from where Act

What is the best way to benchmark the performance of activemq?

2009-10-08 Thread praveen.sharma
What is the best way to benchmark the performance of activemq? URL http://activemq.apache.org/activemq-performance-module-users-manual.html describing "Running Maven 2 Performance Test" doesn't seem to work for me. Despite checking out the trunk, building the entire source code, I couldn't find

activemq-jmdns_1.0 doesn't run (from latest svn trunk for activemq from Apache)

2009-10-08 Thread praveen.sharma
Activemq-jmdns_1.0 compiles but doesn't run. The source is checkout from ActiveMQ trunk. Machine: CentOS 5.0, JDK:1.6, 64 bits [psha...@padua activemq-jmdns_1.0]$ java -jar target/activemq-jmdns_1.0-5.4-SNAPSHOT.jar -browse Failed to load Main-Class manifest attribute from target/activemq-jmdns_

Re: need a listener?

2009-09-04 Thread praveen.sharma
Could this Camel route be used as a proxy to ActiveMQ? Gary Tully wrote: > > there is a camelContext in the default activemq.xml that has a simple > route > configured so it is installed and ready to rock as part of a standard 5.2 > distro. > > refer to the camel-user list for details on camel

ApacheMQ 5.3, Topic priority

2009-08-31 Thread praveen.sharma
How is priority handled for ActiveMQ Topics? Are the messages for the higher priority topics guaranteed to be dispatched before then the ones with the lower priority messages? For example, will configuring jms uri in ApacheCamel (1.6.1) (as described at http://camel.apache.org/jms.html and shown

Enqueue count, javax.jms.JMSException: Channel was inactive for too long, configuring activemq topics

2009-08-24 Thread praveen.sharma
Software and OS: Activemq-5.3.0.2-fuse with persistent set to false, LINUX OS I am trying to send large messages to activemq (9.7 M or 5 M). I want ActiveMQ to be running (sending large size messages) for ever without throwing any exception. However, after enqueuecount reaches 200 for a give