blob: bedf3feeaa78ac939b8398344b3246a93513e6c6 [file] [log] [blame]
<div class="wiki-content maincontent"><h2 id="FAQ-FAQ">FAQ</h2>
<p>Here are a list of commonly asked questions and answers. If you have any questions which are not on this list, please talk to us on the <a shape="rect" href="discussion-forums.html">forums</a>. </p>
<p>We <a shape="rect" href="contributing.html">welcome contributions</a> and this entire website is a <a shape="rect" href="how-does-the-website-work.html">wiki that you can edit</a> so please join in and help us make the documentation better!</p>
<h3 id="FAQ-Generalhttps://cwiki.apache.org/confluence/pages/viewpage.action?pageId=36107"><a shape="rect" href="general.html">General</a></h3>
<p>General questions about ActiveMQ</p>
<ul class="childpages-macro"><li><a shape="rect" href="can-i-get-commercial-support.html">Can I get commercial support</a></li><li><a shape="rect" href="how-can-i-get-help.html">How can I get help</a></li><li><a shape="rect" href="how-can-i-get-the-source-code-from-subversion.html">How can I get the source code from subversion</a></li><li><a shape="rect" href="how-does-activemq-compare-to-amqp.html">How does ActiveMQ compare to AMQP</a></li><li><a shape="rect" href="how-does-activemq-compare-to-artemis.html">How does ActiveMQ compare to Artemis</a></li><li><a shape="rect" href="how-does-activemq-compare-to-fuse-message-broker.html">How does ActiveMQ compare to Fuse Message Broker</a></li><li><a shape="rect" href="how-does-activemq-compare-to-jbossmq.html">How does ActiveMQ compare to JBossMQ</a></li><li><a shape="rect" href="how-does-activemq-compare-to-mantaray.html">How does ActiveMQ compare to Mantaray</a></li><li><a shape="rect" href="how-does-activemq-compare-to-mule.html">How does ActiveMQ compare to Mule</a></li><li><a shape="rect" href="how-does-activemq-compare-to-spread-toolkit.html">How does ActiveMQ compare to Spread Toolkit</a></li><li><a shape="rect" href="how-does-openwire-compare-to-stomp.html">How does OpenWire compare to Stomp</a></li><li><a shape="rect" href="how-does-the-website-work.html">How does the website work</a></li><li><a shape="rect" href="how-do-i-avoid-maven-downloading-latest-jars.html">How do I avoid Maven downloading latest jars</a></li><li><a shape="rect" href="how-do-i-build-but-disable-the-unit-tests.html">How do I build but disable the unit tests</a></li><li><a shape="rect" href="how-do-i-compile-from-the-source.html">How do I compile from the source</a></li><li><a shape="rect" href="how-do-i-edit-the-website.html">How do I edit the website</a></li><li><a shape="rect" href="how-fast-is-activemq.html">How fast is ActiveMQ</a></li><li><a shape="rect" href="should-i-run-activemq-on-windows-in-a-directory-with-spaces.html">Should I run ActiveMQ on Windows in a directory with spaces</a></li><li><a shape="rect" href="what-is-activemq.html">What is ActiveMQ</a></li><li><a shape="rect" href="what-is-the-license.html">What is the license</a></li><li><a shape="rect" href="what-jars-do-i-need.html">What jars do I need</a></li><li><a shape="rect" href="what-open-source-integration-solution-works-best-with-activemq.html">What open source integration solution works best with ActiveMQ</a></li><li><a shape="rect" href="what-platforms-does-activemq-support.html">What platforms does ActiveMQ support</a></li><li><a shape="rect" href="what-version-should-i-use.html">What version should I use</a></li></ul>
<h3 id="FAQ-JMShttps://cwiki.apache.org/confluence/pages/viewpage.action?pageId=36106"><a shape="rect" href="jms.html">JMS</a></h3>
<p>Questions on using the JMS API and <a shape="rect" href="mom.html">MOM</a> in general</p>
<ul class="childpages-macro"><li><a shape="rect" href="can-i-modify-messages-on-a-queue.html">Can I modify messages on a queue</a></li><li><a shape="rect" href="can-i-send-and-receive-messages-concurrently-on-one-jms-connection.html">Can I send and receive messages concurrently on one JMS Connection</a></li><li><a shape="rect" href="can-you-browse-a-topic.html">Can you browse a topic</a></li><li><a shape="rect" href="how-do-durable-queues-and-topics-work.html">How do durable queues and topics work</a></li><li><a shape="rect" href="how-does-a-queue-compare-to-a-topic.html">How does a Queue compare to a Topic</a></li><li><a shape="rect" href="how-does-connectionfactory-relate-to-the-broker.html">How does ConnectionFactory relate to the Broker</a></li><li><a shape="rect" href="how-does-jms-compare-with-email.html">How does JMS compare with email</a></li><li><a shape="rect" href="how-do-i-consume-a-specific-message.html">How do I consume a specific message</a></li><li><a shape="rect" href="how-do-i-get-started-with-jms.html">How do I get started with JMS</a></li><li><a shape="rect" href="how-do-i-make-messages-durable.html">How do I make messages durable</a></li><li><a shape="rect" href="how-do-i-send-messages-to-different-destinations-from-a-single-messageproducer.html">How do I send messages to different Destinations from a single MessageProducer</a></li><li><a shape="rect" href="how-do-i-use-jms-efficiently.html">How do I use JMS efficiently</a></li><li><a shape="rect" href="how-should-i-implement-request-response-with-jms.html">How should I implement request response with JMS</a></li><li><a shape="rect" href="how-to-unit-test-jms-code.html">How To Unit Test JMS Code</a></li><li><a shape="rect" href="multiple-consumers-on-a-queue.html">Multiple consumers on a queue</a></li><li><a shape="rect" href="should-i-use-transactions.html">Should I use transactions</a></li><li><a shape="rect" href="should-i-use-xa.html">Should I use XA</a></li><li><a shape="rect" href="what-are-administered-objects.html">What are administered objects</a></li></ul>
<h3 id="FAQ-UsingApacheActiveMQhttps://cwiki.apache.org/confluence/pages/viewpage.action?pageId=36220"><a shape="rect" href="using-apache-activemq.html">Using Apache ActiveMQ</a></h3>
Questions on using Apache ActiveMQ
<ul class="childpages-macro"><li><a shape="rect" href="activemq-command-line-tools-reference.html">ActiveMQ Command Line Tools Reference</a></li><li><a shape="rect" href="are-destinations-case-sensitive.html">Are destinations case sensitive</a></li><li><a shape="rect" href="can-i-send-really-large-files-over-activemq.html">Can I send really large files over ActiveMQ</a></li><li><a shape="rect" href="can-i-use-activemq-5x-or-later-on-java-14.html">Can I use ActiveMQ 5.x or later on Java 1.4</a></li><li><a shape="rect" href="can-two-brokers-share-the-same-database.html">Can two brokers share the same database</a></li><li><a shape="rect" href="does-activemq-support-clustering.html">Does ActiveMQ support clustering</a></li><li><a shape="rect" href="how-can-i-avoid-serialization-of-objects-in-objectmessage.html">How can I avoid serialization of Objects in ObjectMessage</a></li><li><a shape="rect" href="how-can-i-get-a-list-of-the-topics-and-queues-in-a-broker.html">How can I get a list of the topics and queues in a broker</a></li><li><a shape="rect" href="how-can-i-make-activemq-faster.html">How can I make ActiveMQ faster</a></li><li><a shape="rect" href="how-can-i-monitor-activemq.html">How can I monitor ActiveMQ</a></li><li><a shape="rect" href="how-can-i-monitor-the-connection-with-the-broker.html">How can I monitor the connection with the broker</a></li><li><a shape="rect" href="how-can-i-see-what-destinations-are-used.html">How can I see what destinations are used</a></li><li><a shape="rect" href="how-can-i-support-auto-reconnection.html">How can I support auto reconnection</a></li><li><a shape="rect" href="how-can-i-support-priority-queues.html">How can I support priority queues</a></li><li><a shape="rect" href="how-can-i-use-different-network-protocols.html">How can I use different network protocols</a></li><li><a shape="rect" href="how-do-distributed-queues-work.html">How do distributed queues work</a></li><li><a shape="rect" href="how-do-i-access-activemq-from-c.html">How do I access ActiveMQ from C</a></li><li><a shape="rect" href="how-do-i-access-activemq-from-csharp-or-dotnet.html">How do I access ActiveMQ from CSharp or dotNet</a></li><li><a shape="rect" href="how-do-i-access-activemq-from-ruby-perl-python-php.html">How do I access ActiveMQ from Ruby, Perl, Python, PHP</a></li><li><a shape="rect" href="how-do-i-bridge-different-jms-providers.html">How do I bridge different JMS providers</a></li><li><a shape="rect" href="how-do-i-change-dispatch-policy.html">How do I change dispatch policy</a></li><li><a shape="rect" href="how-do-i-change-the-logging.html">How do I change the logging</a></li><li><a shape="rect" href="how-do-i-connect-to-one-of-a-number-of-message-brokers.html">How do I connect to one of a number of message brokers</a></li><li><a shape="rect" href="how-do-i-create-new-destinations.html">How do I create new destinations</a></li><li><a shape="rect" href="how-do-i-delete-a-destination.html">How do I delete a destination</a></li><li><a shape="rect" href="how-do-i-disable-logging.html">How do I disable logging</a></li><li><a shape="rect" href="how-do-i-embed-a-broker-inside-a-connection.html">How do I embed a Broker inside a Connection</a></li><li><a shape="rect" href="how-do-i-enable-asynchronous-sending.html">How do I enable asynchronous sending</a></li><li><a shape="rect" href="how-do-i-enable-debug-logging.html">How do I enable debug logging</a></li><li><a shape="rect" href="how-do-i-find-the-size-of-a-queue.html">How do I find the Size of a Queue</a></li><li><a shape="rect" href="how-do-i-preserve-order-of-messages.html">How do I preserve order of messages</a></li><li><a shape="rect" href="how-do-i-purge-a-queue.html">How do I purge a queue</a></li><li><a shape="rect" href="how-do-i-restart-embedded-broker.html">How do I restart embedded broker</a></li><li><a shape="rect" href="how-do-i-restrict-connections-from-creating-new-queues-or-topics.html">How do I restrict connections from creating new queues or topics</a></li><li><a shape="rect" href="how-do-i-run-a-broker.html">How do I run a broker</a></li><li><a shape="rect" href="how-do-i-set-the-message-expiration.html">How do I set the message expiration</a></li><li><a shape="rect" href="how-do-i-turn-off-creating-an-embedded-activemq-broker-when-using-the-vm-transport.html">How do I turn off creating an embedded ActiveMQ broker when using the VM transport</a></li><li><a shape="rect" href="how-do-i-unack-the-message-with-stomp.html">How do I unack the message with Stomp</a></li><li><a shape="rect" href="how-do-i-use-activemq-using-in-jvm-messaging.html">How do I use ActiveMQ using in JVM messaging</a></li><li><a shape="rect" href="how-do-i-use-durable-subscribers-in-a-network-of-brokers.html">How do I use durable subscribers in a network of brokers</a></li><li><a shape="rect" href="how-do-i-use-ivy-with-activemq.html">How do I use Ivy with ActiveMQ</a></li><li><a shape="rect" href="how-do-i-use-log4j-jms-appender-with-activemq.html">How do I use log4j JMS appender with ActiveMQ</a></li><li><a shape="rect" href="how-do-i-use-ssl.html">How do I use SSL</a></li><li><a shape="rect" href="how-do-message-groups-compare-to-selectors.html">How do Message Groups compare to Selectors</a></li><li><a shape="rect" href="how-do-multiple-transports-work.html">How do multiple transports work</a></li><li><a shape="rect" href="how-do-transactions-work.html">How Do Transactions Work</a></li><li><a shape="rect" href="how-lightweight-is-sending-a-message.html">How lightweight is sending a message</a></li><li><a shape="rect" href="how-should-i-package-applications-using-camel-and-activemq.html">How should I package applications using Camel and ActiveMQ</a></li><li><a shape="rect" href="how-should-i-use-the-vm-transport.html">How should I use the VM transport</a></li><li><a shape="rect" href="how-to-deal-with-large-number-of-threads-in-clients.html">How to deal with large number of threads in clients</a></li><li><a shape="rect" href="how-to-disable-auto-destination-creation.html">How to disable auto destination creation</a></li><li><a shape="rect" href="i-see-nc-client-ids-what-does-that-mean.html">I see NC_ client-ids, what does that mean</a></li><li><a shape="rect" href="should-i-deploy-enterprise-integration-patterns-in-the-broker-or-another-application.html">Should I deploy Enterprise Integration Patterns in the broker or another application</a></li><li><a shape="rect" href="should-i-deploy-the-broker-inside-my-jvm-or-appserver.html">Should I deploy the broker inside my JVM or AppServer</a></li><li><a shape="rect" href="what-are-those-topics-activemqadvisory.html">What are those topics ActiveMQ.Advisory</a></li><li><a shape="rect" href="what-happens-with-a-fast-producer-and-slow-consumer.html">What happens with a fast producer and slow consumer</a></li><li><a shape="rect" href="what-is-the-difference-between-a-virtual-topic-and-a-composite-destination.html">What is the difference between a Virtual Topic and a Composite Destination</a></li><li><a shape="rect" href="what-is-the-difference-between-discovery-multicast-and-zeroconf.html">What is the difference between discovery, multicast and zeroconf</a></li><li><a shape="rect" href="what-is-the-prefetch-limit-for.html">What is the Prefetch Limit For?</a></li><li><a shape="rect" href="while-posting-large-binary-file-to-activemq-is-there-a-way-to-measure-its-progress.html">While posting large binary file to activeMQ, is there a way to measure its progress</a></li></ul>
<h3 id="FAQ-Configurationhttps://cwiki.apache.org/confluence/pages/viewpage.action?pageId=36073"><a shape="rect" href="configuration.html">Configuration</a></h3>
<p>Questions on configuring ActiveMQ's JMS client or the Message Broker</p>
<ul class="childpages-macro"><li><a shape="rect" href="how-can-i-enable-detailed-logging.html">How can I enable detailed logging</a></li><li><a shape="rect" href="how-does-xbean-compare-to-spring-2.html">How does XBean compare to Spring 2</a></li><li><a shape="rect" href="how-do-i-configure-10s-of-1000s-of-queues-in-a-single-broker.html">How do I configure 10s of 1000s of Queues in a single broker</a></li><li><a shape="rect" href="how-do-i-configure-activemq-to-hold-100s-of-millions-of-queue-messages.html">How do I configure ActiveMQ to hold 100s of millions of Queue Messages</a></li><li><a shape="rect" href="how-do-i-configure-activemq-to-use-aio-server-transport.html">How do I configure ActiveMQ to use AIO server transport</a></li><li><a shape="rect" href="how-do-i-configure-automatic-reconnection.html">How do I configure automatic reconnection</a></li><li><a shape="rect" href="how-do-i-configure-distributed-queues-or-topics.html">How do I configure distributed queues or topics</a></li><li><a shape="rect" href="how-do-i-configure-the-queues-i-want.html">How do I configure the queues I want</a></li><li><a shape="rect" href="how-do-i-define-a-local-address-and-local-port-for-tcp-or-ssl.html">How do I define a local address and local port for TCP or SSL</a></li><li><a shape="rect" href="how-do-i-disable-persistence.html">How do I disable persistence</a></li><li><a shape="rect" href="how-do-i-run-activemq-under-the-kaffe-jvm.html">How do I run ActiveMQ under the Kaffe JVM</a></li><li><a shape="rect" href="how-to-configure-a-new-database.html">How to configure a new database</a></li><li><a shape="rect" href="how-to-deploy-activemq-ra-versionrar-to-weblogic.html">How to deploy activemq-ra-version.rar to weblogic</a></li><li><a shape="rect" href="how-to-disable-multicast-discovery.html">How to disable multicast discovery</a></li></ul>
<h3 id="FAQ-PersistenceQuestionshttps://cwiki.apache.org/confluence/pages/viewpage.action?pageId=36237"><a shape="rect" href="persistence-questions.html">Persistence Questions</a></h3>
Questions relating to long term persistence of messages.
<ul class="childpages-macro"><li><a shape="rect" href="are-messages-read-directly-from-the-journal.html">Are messages read directly from the journal</a></li><li><a shape="rect" href="does-activemq-support-my-sql-database.html">Does ActiveMQ support my SQL database</a></li><li><a shape="rect" href="how-does-journaling-work-with-multiple-brokers.html">How does journaling work with multiple brokers</a></li><li><a shape="rect" href="how-does-the-journal-work.html">How does the journal work</a></li><li><a shape="rect" href="how-do-i-back-up-kahadb.html">How do I back-up KahaDB</a></li><li><a shape="rect" href="how-do-i-change-the-message-store-directory-for-an-embedded-broker.html">How do I change the message store directory for an embedded broker</a></li><li><a shape="rect" href="is-there-a-specified-size-of-the-journal.html">Is there a specified size of the journal</a></li><li><a shape="rect" href="what-happens-when-the-journal-size-is-exceeded.html">What happens when the journal size is exceeded</a></li><li><a shape="rect" href="what-is-the-difference-between-persistent-and-non-persistent-delivery.html">What is the difference between persistent and non-persistent delivery</a></li></ul>
<h3 id="FAQ-Errorshttps://cwiki.apache.org/confluence/pages/viewpage.action?pageId=36065"><a shape="rect" href="errors.html">Errors</a></h3>
<p>Questions on specific kinds of errors. If you have seen a specific exception then check the <a shape="rect" href="exceptions.html">Exceptions</a></p>
<ul class="childpages-macro"><li><a shape="rect" href="could-not-find-packetreader-for-packet-type-unknown-packet-type.html">Could not find PacketReader for packet type - UNKNOWN PACKET TYPE</a></li><li><a shape="rect" href="exceptions.html">Exceptions</a><ul class="childpages-macro"><li><a shape="rect" href="certificateunknown.html">certificate_unknown</a></li><li><a shape="rect" href="ioexception-could-not-find-class-for-resource.html">IOException - could not find class for resource</a></li><li><a shape="rect" href="javaiointerruptedioexception.html">java.io.InterruptedIOException</a></li><li><a shape="rect" href="javaioioexception-failed-to-create-database-derbydb-see-the-next-exception-for-details.html">java.io.IOException Failed to create database 'derbydb', see the next exception for details</a></li><li><a shape="rect" href="javalangnosuchmethoderror.html">java.lang.NoSuchMethodError</a></li><li><a shape="rect" href="javalangnosuchmethodexception-orgactivemqraactivemqresourceadaptersetuseembeddedbroker.html">java.lang.NoSuchMethodException org.activemq.ra.ActiveMQResourceAdapter.setUseEmbeddedBroker</a></li><li><a shape="rect" href="javalangoutofmemory.html">java.lang.OutOfMemory</a></li><li><a shape="rect" href="javaxjmsjmsexception-wire-format-negociation-timeout-peer-did-not-send-his-wire-format.html">javax.jms.JMSException - Wire format negociation timeout - peer did not send his wire format.</a></li><li><a shape="rect" href="jaxb-20-api-is-being-loaded-from-the-bootstrap-classloader-but-this-ri-needs-21-api.html">JAXB 2.0 API is being loaded from the bootstrap classloader, but this RI () needs 2.1 API.</a></li><li><a shape="rect" href="jaxb-20-api-is-being-loaded-from-the-bootstrap-classloader-but-this-ri-xxx-needs-21-api.html">JAXB 2.0 API is being loaded from the bootstrap classloader, but this RI (xxx) needs 2.1 API</a></li><li><a shape="rect" href="journal-is-already-opened-by-this-application.html">Journal is already opened by this application</a></li><li><a shape="rect" href="noclassdeffounderror-orgspringframeworkcoreioresource.html">NoClassDefFoundError - org.springframework.core.io.Resource</a></li><li><a shape="rect" href="no-suitable-driver.html">No suitable driver</a></li></ul></li><li><a shape="rect" href="i-am-having-problems-with-the-spring-jmstemplate.html">I am having problems with the Spring JmsTemplate</a></li><li><a shape="rect" href="i-am-not-receiving-any-messages-what-is-wrong.html">I am not receiving any messages, what is wrong</a></li><li><a shape="rect" href="i-cannot-connect-to-activemq-from-jconsole.html">I cannot connect to ActiveMQ from JConsole</a></li><li><a shape="rect" href="i-do-not-receive-messages-in-my-second-consumer.html">I do not receive messages in my second consumer</a></li><li><a shape="rect" href="i-get-errors-building-the-code-whats-wrong.html">I get errors building the code whats wrong</a></li><li><a shape="rect" href="log4j-warn-no-appenders-could-be-found-for-logger.html">log4j-WARN No appenders could be found for logger</a></li><li><a shape="rect" href="multicast-watch-out-for-ipv6-vs-ipv4-support-on-your-operating-system-or-distribution-or-network.html">Multicast - Watch out for IPV6 vs IPV4 support on your operating system or distribution or network</a></li><li><a shape="rect" href="my-producer-blocks.html">My producer blocks</a></li><li><a shape="rect" href="onmessage-method-of-messagelistener-is-never-called.html">onMessage method of MessageListener is never called</a></li><li><a shape="rect" href="resource-adapter-does-not-seem-to-pool-connections.html">Resource Adapter does not seem to pool connections</a></li><li><a shape="rect" href="slow-networks-drop-large-messages.html">Slow networks drop large messages</a></li><li><a shape="rect" href="the-broker-will-not-start.html">The Broker will not start</a></li><li><a shape="rect" href="the-vm-transport-starts-a-broker-before-my-configured-broker-starts.html">The vm transport starts a broker before my configured broker starts</a></li><li><a shape="rect" href="why-do-i-not-get-all-of-the-messages-i-sent.html">Why do I not get all of the messages I sent</a></li><li><a shape="rect" href="why-do-i-not-receive-messages-on-my-durable-topic-subscription.html">Why do I not receive messages on my durable topic subscription</a></li><li><a shape="rect" href="why-do-kahadb-log-files-remain-after-cleanup.html">Why do KahaDB log files remain after cleanup</a></li></ul>
<h3 id="FAQ-DevelopingActiveMQhttps://cwiki.apache.org/confluence/pages/viewpage.action?pageId=36114"><a shape="rect" href="developing-activemq.html">Developing ActiveMQ</a></h3>
Questions for developers wishing to extend or enhance Apache ActiveMQ
<ul class="childpages-macro"><li><a shape="rect" href="how-can-i-add-a-new-type-of-transport.html">How can I add a new type of transport</a></li><li><a shape="rect" href="how-can-i-contribute.html">How can I contribute</a></li><li><a shape="rect" href="how-do-i-add-my-own-plugins.html">How do I add my own plugins</a></li><li><a shape="rect" href="how-do-i-debug-activemq-from-my-ide.html">How do I debug ActiveMQ from my IDE</a></li></ul>
<h3 id="FAQ-Terminologyhttps://cwiki.apache.org/confluence/pages/viewpage.action?pageId=35984"><a shape="rect" href="terminology.html">Terminology</a></h3>
<p>A list of the various messaging related terms and acronyms.</p>
<ul class="childpages-macro"><li><a shape="rect" href="dr.html">DR</a></li><li><a shape="rect" href="ha.html">HA</a></li><li><a shape="rect" href="latency.html">Latency</a></li><li><a shape="rect" href="mom.html">MOM</a></li><li><a shape="rect" href="qos.html">QoS</a></li><li><a shape="rect" href="seda.html">SEDA</a></li><li><a shape="rect" href="throughput.html">Throughput</a></li></ul>
</div>