@Test(expected = UnsupportedOperationException.class) @SuppressWarnings("deprecation") public void testRequest_Message_Long() throws Exception { AdaptrisMessage msg = AdaptrisMessageFactory.getDefaultInstance().newMessage("dummy"); MockMessageProducer mock = createAndStart(); try { mock.request(msg, 100L); } finally { LifecycleHelper.stopAndClose(mock); } }
@Override public final AdaptrisMessage request(AdaptrisMessage msg) throws ProduceException { throw new UnsupportedOperationException("Request Reply is not supported"); }
ProduceOnlyProducerImp extends AdaptrisMessageProducerImp { @Override public final AdaptrisMessage request(AdaptrisMessage msg) throws ProduceException { throw new UnsupportedOperationException("Request Reply is not supported"); } }
ProduceOnlyProducerImp extends AdaptrisMessageProducerImp { @Override public final AdaptrisMessage request(AdaptrisMessage msg) throws ProduceException { throw new UnsupportedOperationException("Request Reply is not supported"); }  }
ProduceOnlyProducerImp extends AdaptrisMessageProducerImp { @Override public final AdaptrisMessage request(AdaptrisMessage msg) throws ProduceException { throw new UnsupportedOperationException("Request Reply is not supported"); }  @Override final AdaptrisMessage request(AdaptrisMessage msg); @Override final AdaptrisMessage request(AdaptrisMessage msg, long timeout); @Override @Deprecated @Removal(version = "4.0") final AdaptrisMessage request(AdaptrisMessage msg,
                                       ProduceDestination destination); @Override @Deprecated @Removal(version = "4.0") final AdaptrisMessage request(AdaptrisMessage msg,
                                       ProduceDestination destination,
                                       long timeout); @Override final void produce(AdaptrisMessage msg); @Deprecated @Removal(version = "4.0") @Override final void produce(AdaptrisMessage msg, ProduceDestination destination); }
ProduceOnlyProducerImp extends AdaptrisMessageProducerImp { @Override public final AdaptrisMessage request(AdaptrisMessage msg) throws ProduceException { throw new UnsupportedOperationException("Request Reply is not supported"); }  @Override final AdaptrisMessage request(AdaptrisMessage msg); @Override final AdaptrisMessage request(AdaptrisMessage msg, long timeout); @Override @Deprecated @Removal(version = "4.0") final AdaptrisMessage request(AdaptrisMessage msg,
                                       ProduceDestination destination); @Override @Deprecated @Removal(version = "4.0") final AdaptrisMessage request(AdaptrisMessage msg,
                                       ProduceDestination destination,
                                       long timeout); @Override final void produce(AdaptrisMessage msg); @Deprecated @Removal(version = "4.0") @Override final void produce(AdaptrisMessage msg, ProduceDestination destination);  }