P E N C I L
Login
JMS basics
  1. http://docs.spring.io/spring/docs/current/spring-framework-reference/html/jms.html
  2. http://docs.oracle.com/javaee/6/tutorial/doc/bnceh.html
  3. ConnectionFactory->Connection->Session->MessageProducer->send
  4. Caching (ref. 30.2.2 Connections)
    1. http://zachxu.blogspot.ch/2014/10/spring-jms-caching.html
    2. ConnectionFactory->Connection->Session->MessageProducer->send
    3. ConenctionFactorry > SingleConnectionFactory > CachingConnectionFactory
      1. Conneection factory: no object is reused
      2. SingleConnectionFactory: only connection is reused
      3. CachingConnectionFactory: all are reused  (connection, session, producer)
        (ie. The close on connection is ignored)
        reconnectOnException=true (by default)
  5. Qos
    1. Message.setJMSDeliveryMode(DeliveryMode.NON_PERSISTENT)
    2. CachingConnectionFactory.reconnectOnException = true (default)
  6. JMSTemplate
    1. Default destination
      You can also configure the JmsTemplate with a default destination via the property defaultDestination. The default destination will be used with send and receive operations that do not refer to a specific destination.