test_class.declarator: completionListener = new TestCompletionListener()
test_class.modifier: private final
test_class.original_string: private final TestCompletionListener completionListener = new TestCompletionListener();
test_class.type: TestCompletionListener
test_class.var_name: completionListener
test_class.file: pooled-jms/src/test/java/org/messaginghub/pooled/jms/JmsPoolMessageProducerTest.java
test_class.identifier: JmsPoolMessageProducerTest
test_class.superclass: extends JmsPoolTestSupport
test_case.body: @Test(timeout = 10000)
      public void testExplicitProducerThrowsIAEWhenNullCompletionListenerIsProvided() throws Exception {
          Destination dest = new MockJMSQueue("explicitDestination");
          JmsPoolConnection connection = (JmsPoolConnection) cf.createQueueConnection();
          Session session = connection.createSession();
          MessageProducer producer = session.createProducer(dest);
  
          Message message = session.createMessage();
  
          try {
              producer.send(message, null);
              fail("Expected exception not thrown");
          } catch (IllegalArgumentException iae) {
              // expected
          }
  
          try {
              producer.send(message, Message.DEFAULT_DELIVERY_MODE, Message.DEFAULT_PRIORITY, Message.DEFAULT_TIME_TO_LIVE, null);
              fail("Expected exception not thrown");
          } catch (IllegalArgumentException iae) {
              // expected
          }
      }
test_case.class_method_signature: JmsPoolMessageProducerTest.testExplicitProducerThrowsIAEWhenNullCompletionListenerIsProvided()
test_case.full_signature: @Test(timeout = 10000) public void testExplicitProducerThrowsIAEWhenNullCompletionListenerIsProvided()
test_case.identifier: testExplicitProducerThrowsIAEWhenNullCompletionListenerIsProvided
test_case.invocations: createQueueConnection createSession createProducer createMessage send fail send fail
test_case.modifiers: @Test(timeout = 10000) public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testExplicitProducerThrowsIAEWhenNullCompletionListenerIsProvided()
focal_class.declarator: session
focal_class.modifier: private final
focal_class.original_string: private final JmsPoolSession session;
focal_class.type: JmsPoolSession
focal_class.var_name: session
focal_class.declarator: messageProducer
focal_class.modifier: private final
focal_class.original_string: private final MessageProducer messageProducer;
focal_class.type: MessageProducer
focal_class.var_name: messageProducer
focal_class.declarator: destination
focal_class.modifier: private final
focal_class.original_string: private final Destination destination;
focal_class.type: Destination
focal_class.var_name: destination
focal_class.declarator: refCount
focal_class.modifier: private final
focal_class.original_string: private final AtomicInteger refCount;
focal_class.type: AtomicInteger
focal_class.var_name: refCount
focal_class.declarator: anonymousProducer
focal_class.modifier: private final
focal_class.original_string: private final boolean anonymousProducer;
focal_class.type: boolean
focal_class.var_name: anonymousProducer
focal_class.declarator: closed = new AtomicBoolean(false)
focal_class.modifier: private final
focal_class.original_string: private final AtomicBoolean closed = new AtomicBoolean(false);
focal_class.type: AtomicBoolean
focal_class.var_name: closed
focal_class.declarator: deliveryMode
focal_class.modifier: private
focal_class.original_string: private int deliveryMode;
focal_class.type: int
focal_class.var_name: deliveryMode
focal_class.declarator: disableMessageID
focal_class.modifier: private
focal_class.original_string: private boolean disableMessageID;
focal_class.type: boolean
focal_class.var_name: disableMessageID
focal_class.declarator: disableMessageTimestamp
focal_class.modifier: private
focal_class.original_string: private boolean disableMessageTimestamp;
focal_class.type: boolean
focal_class.var_name: disableMessageTimestamp
focal_class.declarator: priority
focal_class.modifier: private
focal_class.original_string: private int priority;
focal_class.type: int
focal_class.var_name: priority
focal_class.declarator: timeToLive
focal_class.modifier: private
focal_class.original_string: private long timeToLive;
focal_class.type: long
focal_class.var_name: timeToLive
focal_class.declarator: deliveryDelay
focal_class.modifier: private
focal_class.original_string: private long deliveryDelay;
focal_class.type: long
focal_class.var_name: deliveryDelay
focal_class.file: pooled-jms/src/main/java/org/messaginghub/pooled/jms/JmsPoolMessageProducer.java
focal_class.identifier: JmsPoolMessageProducer
focal_class.interfaces: implements MessageProducer, AutoCloseable
focal_class.class_method_signature: JmsPoolMessageProducer.JmsPoolMessageProducer(JmsPoolSession session, MessageProducer messageProducer, Destination destination, AtomicInteger refCount)
focal_class.full_signature: public  JmsPoolMessageProducer(JmsPoolSession session, MessageProducer messageProducer, Destination destination, AtomicInteger refCount)
focal_class.identifier: JmsPoolMessageProducer
focal_class.modifiers: public
focal_class.parameters: (JmsPoolSession session, MessageProducer messageProducer, Destination destination, AtomicInteger refCount)
focal_class.signature:  JmsPoolMessageProducer(JmsPoolSession session, MessageProducer messageProducer, Destination destination, AtomicInteger refCount)
focal_class.class_method_signature: JmsPoolMessageProducer.close()
focal_class.full_signature: @Override public void close()
focal_class.identifier: close
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void close()
focal_class.class_method_signature: JmsPoolMessageProducer.send(Message message)
focal_class.full_signature: @Override public void send(Message message)
focal_class.identifier: send
focal_class.modifiers: @Override public
focal_class.parameters: (Message message)
focal_class.return: void
focal_class.signature: void send(Message message)
focal_class.class_method_signature: JmsPoolMessageProducer.send(Message message, int deliveryMode, int priority, long timeToLive)
focal_class.full_signature: @Override public void send(Message message, int deliveryMode, int priority, long timeToLive)
focal_class.identifier: send
focal_class.modifiers: @Override public
focal_class.parameters: (Message message, int deliveryMode, int priority, long timeToLive)
focal_class.return: void
focal_class.signature: void send(Message message, int deliveryMode, int priority, long timeToLive)
focal_class.class_method_signature: JmsPoolMessageProducer.send(Destination destination, Message message)
focal_class.full_signature: @Override public void send(Destination destination, Message message)
focal_class.identifier: send
focal_class.modifiers: @Override public
focal_class.parameters: (Destination destination, Message message)
focal_class.return: void
focal_class.signature: void send(Destination destination, Message message)
focal_class.class_method_signature: JmsPoolMessageProducer.send(Destination destination, Message message, int deliveryMode, int priority, long timeToLive)
focal_class.full_signature: @Override public void send(Destination destination, Message message, int deliveryMode, int priority, long timeToLive)
focal_class.identifier: send
focal_class.modifiers: @Override public
focal_class.parameters: (Destination destination, Message message, int deliveryMode, int priority, long timeToLive)
focal_class.return: void
focal_class.signature: void send(Destination destination, Message message, int deliveryMode, int priority, long timeToLive)
focal_class.class_method_signature: JmsPoolMessageProducer.send(Message message, CompletionListener listener)
focal_class.full_signature: @Override public void send(Message message, CompletionListener listener)
focal_class.identifier: send
focal_class.modifiers: @Override public
focal_class.parameters: (Message message, CompletionListener listener)
focal_class.return: void
focal_class.signature: void send(Message message, CompletionListener listener)
focal_class.class_method_signature: JmsPoolMessageProducer.send(Message message, int deliveryMode, int priority, long timeToLive, CompletionListener listener)
focal_class.full_signature: @Override public void send(Message message, int deliveryMode, int priority, long timeToLive, CompletionListener listener)
focal_class.identifier: send
focal_class.modifiers: @Override public
focal_class.parameters: (Message message, int deliveryMode, int priority, long timeToLive, CompletionListener listener)
focal_class.return: void
focal_class.signature: void send(Message message, int deliveryMode, int priority, long timeToLive, CompletionListener listener)
focal_class.class_method_signature: JmsPoolMessageProducer.send(Destination destination, Message message, CompletionListener listener)
focal_class.full_signature: @Override public void send(Destination destination, Message message, CompletionListener listener)
focal_class.identifier: send
focal_class.modifiers: @Override public
focal_class.parameters: (Destination destination, Message message, CompletionListener listener)
focal_class.return: void
focal_class.signature: void send(Destination destination, Message message, CompletionListener listener)
focal_class.class_method_signature: JmsPoolMessageProducer.send(Destination destination, Message message, int deliveryMode, int priority, long timeToLive, CompletionListener listener)
focal_class.full_signature: @Override public void send(Destination destination, Message message, int deliveryMode, int priority, long timeToLive, CompletionListener listener)
focal_class.identifier: send
focal_class.modifiers: @Override public
focal_class.parameters: (Destination destination, Message message, int deliveryMode, int priority, long timeToLive, CompletionListener listener)
focal_class.return: void
focal_class.signature: void send(Destination destination, Message message, int deliveryMode, int priority, long timeToLive, CompletionListener listener)
focal_class.class_method_signature: JmsPoolMessageProducer.sendMessage(Destination destination, Message message, int deliveryMode, int priority, long timeToLive, CompletionListener listener)
focal_class.full_signature: private void sendMessage(Destination destination, Message message, int deliveryMode, int priority, long timeToLive, CompletionListener listener)
focal_class.identifier: sendMessage
focal_class.modifiers: private
focal_class.parameters: (Destination destination, Message message, int deliveryMode, int priority, long timeToLive, CompletionListener listener)
focal_class.return: void
focal_class.signature: void sendMessage(Destination destination, Message message, int deliveryMode, int priority, long timeToLive, CompletionListener listener)
focal_class.class_method_signature: JmsPoolMessageProducer.getDestination()
focal_class.full_signature: @Override public Destination getDestination()
focal_class.identifier: getDestination
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Destination
focal_class.signature: Destination getDestination()
focal_class.class_method_signature: JmsPoolMessageProducer.getDeliveryMode()
focal_class.full_signature: @Override public int getDeliveryMode()
focal_class.identifier: getDeliveryMode
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getDeliveryMode()
focal_class.class_method_signature: JmsPoolMessageProducer.setDeliveryMode(int deliveryMode)
focal_class.full_signature: @Override public void setDeliveryMode(int deliveryMode)
focal_class.identifier: setDeliveryMode
focal_class.modifiers: @Override public
focal_class.parameters: (int deliveryMode)
focal_class.return: void
focal_class.signature: void setDeliveryMode(int deliveryMode)
focal_class.class_method_signature: JmsPoolMessageProducer.getDisableMessageID()
focal_class.full_signature: @Override public boolean getDisableMessageID()
focal_class.identifier: getDisableMessageID
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean getDisableMessageID()
focal_class.class_method_signature: JmsPoolMessageProducer.setDisableMessageID(boolean disableMessageID)
focal_class.full_signature: @Override public void setDisableMessageID(boolean disableMessageID)
focal_class.identifier: setDisableMessageID
focal_class.modifiers: @Override public
focal_class.parameters: (boolean disableMessageID)
focal_class.return: void
focal_class.signature: void setDisableMessageID(boolean disableMessageID)
focal_class.class_method_signature: JmsPoolMessageProducer.getDisableMessageTimestamp()
focal_class.full_signature: @Override public boolean getDisableMessageTimestamp()
focal_class.identifier: getDisableMessageTimestamp
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean getDisableMessageTimestamp()
focal_class.class_method_signature: JmsPoolMessageProducer.setDisableMessageTimestamp(boolean disableMessageTimestamp)
focal_class.full_signature: @Override public void setDisableMessageTimestamp(boolean disableMessageTimestamp)
focal_class.identifier: setDisableMessageTimestamp
focal_class.modifiers: @Override public
focal_class.parameters: (boolean disableMessageTimestamp)
focal_class.return: void
focal_class.signature: void setDisableMessageTimestamp(boolean disableMessageTimestamp)
focal_class.class_method_signature: JmsPoolMessageProducer.getPriority()
focal_class.full_signature: @Override public int getPriority()
focal_class.identifier: getPriority
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getPriority()
focal_class.class_method_signature: JmsPoolMessageProducer.setPriority(int priority)
focal_class.full_signature: @Override public void setPriority(int priority)
focal_class.identifier: setPriority
focal_class.modifiers: @Override public
focal_class.parameters: (int priority)
focal_class.return: void
focal_class.signature: void setPriority(int priority)
focal_class.class_method_signature: JmsPoolMessageProducer.getTimeToLive()
focal_class.full_signature: @Override public long getTimeToLive()
focal_class.identifier: getTimeToLive
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getTimeToLive()
focal_class.class_method_signature: JmsPoolMessageProducer.setTimeToLive(long timeToLive)
focal_class.full_signature: @Override public void setTimeToLive(long timeToLive)
focal_class.identifier: setTimeToLive
focal_class.modifiers: @Override public
focal_class.parameters: (long timeToLive)
focal_class.return: void
focal_class.signature: void setTimeToLive(long timeToLive)
focal_class.class_method_signature: JmsPoolMessageProducer.getDeliveryDelay()
focal_class.full_signature: @Override public long getDeliveryDelay()
focal_class.identifier: getDeliveryDelay
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getDeliveryDelay()
focal_class.class_method_signature: JmsPoolMessageProducer.setDeliveryDelay(long deliveryDelay)
focal_class.full_signature: @Override public void setDeliveryDelay(long deliveryDelay)
focal_class.identifier: setDeliveryDelay
focal_class.modifiers: @Override public
focal_class.parameters: (long deliveryDelay)
focal_class.return: void
focal_class.signature: void setDeliveryDelay(long deliveryDelay)
focal_class.class_method_signature: JmsPoolMessageProducer.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_class.class_method_signature: JmsPoolMessageProducer.getMessageProducer()
focal_class.full_signature: public MessageProducer getMessageProducer()
focal_class.identifier: getMessageProducer
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: MessageProducer
focal_class.signature: MessageProducer getMessageProducer()
focal_class.class_method_signature: JmsPoolMessageProducer.isAnonymousProducer()
focal_class.full_signature: public boolean isAnonymousProducer()
focal_class.identifier: isAnonymousProducer
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isAnonymousProducer()
focal_class.class_method_signature: JmsPoolMessageProducer.getRefCount()
focal_class.full_signature: public AtomicInteger getRefCount()
focal_class.identifier: getRefCount
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: AtomicInteger
focal_class.signature: AtomicInteger getRefCount()
focal_class.class_method_signature: JmsPoolMessageProducer.getDelegate()
focal_class.full_signature: public MessageProducer getDelegate()
focal_class.identifier: getDelegate
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: MessageProducer
focal_class.signature: MessageProducer getDelegate()
focal_class.class_method_signature: JmsPoolMessageProducer.getDelegateDestination()
focal_class.full_signature: public Destination getDelegateDestination()
focal_class.identifier: getDelegateDestination
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Destination
focal_class.signature: Destination getDelegateDestination()
focal_class.class_method_signature: JmsPoolMessageProducer.doClose(boolean force)
focal_class.full_signature: private void doClose(boolean force)
focal_class.identifier: doClose
focal_class.modifiers: private
focal_class.parameters: (boolean force)
focal_class.return: void
focal_class.signature: void doClose(boolean force)
focal_class.class_method_signature: JmsPoolMessageProducer.checkClosed()
focal_class.full_signature: protected void checkClosed()
focal_class.identifier: checkClosed
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void checkClosed()
focal_class.class_method_signature: JmsPoolMessageProducer.checkDestinationNotInvalid(Destination destination)
focal_class.full_signature: private void checkDestinationNotInvalid(Destination destination)
focal_class.identifier: checkDestinationNotInvalid
focal_class.modifiers: private
focal_class.parameters: (Destination destination)
focal_class.return: void
focal_class.signature: void checkDestinationNotInvalid(Destination destination)
focal_method.body: @Override
      public void send(Message message) throws JMSException {
          send(message, deliveryMode, priority, timeToLive);
      }
focal_method.class_method_signature: JmsPoolMessageProducer.send(Message message)
focal_method.full_signature: @Override public void send(Message message)
focal_method.identifier: send
focal_method.invocations: send
focal_method.modifiers: @Override public
focal_method.parameters: (Message message)
focal_method.return: void
focal_method.signature: void send(Message message)