Fix typos
See gh-2019
This commit is contained in:
@@ -88,7 +88,7 @@ import org.springframework.util.ObjectUtils;
|
||||
* {@link javax.jms.TextMessage TextMessages}. Notice also how the
|
||||
* name of the {@code Message} handling method is different from the
|
||||
* {@link #ORIGINAL_DEFAULT_LISTENER_METHOD original} (this will have to
|
||||
* be configured in the attandant bean definition). Again, no {@code Message}
|
||||
* be configured in the attendant bean definition). Again, no {@code Message}
|
||||
* will be sent back as the method returns {@code void}.
|
||||
*
|
||||
* <pre class="code">public interface TextMessageContentDelegate {
|
||||
|
||||
@@ -153,7 +153,7 @@ public class JmsInvokerServiceExporter extends RemoteInvocationBasedExporter
|
||||
* @param session the JMS session to use
|
||||
* @param result the invocation result
|
||||
* @return the message response to send
|
||||
* @throws javax.jms.JMSException if creating the messsage failed
|
||||
* @throws javax.jms.JMSException if creating the message failed
|
||||
*/
|
||||
protected Message createResponseMessage(Message request, Session session, RemoteInvocationResult result)
|
||||
throws JMSException {
|
||||
|
||||
@@ -124,7 +124,7 @@ public class SimpleMessageConverter implements MessageConverter {
|
||||
|
||||
/**
|
||||
* Create a JMS BytesMessage for the given byte array.
|
||||
* @param bytes the byyte array to convert
|
||||
* @param bytes the byte array to convert
|
||||
* @param session current JMS session
|
||||
* @return the resulting message
|
||||
* @throws JMSException if thrown by JMS methods
|
||||
|
||||
@@ -57,7 +57,7 @@ public class BeanFactoryDestinationResolver implements DestinationResolver, Bean
|
||||
* replaced by the {@link BeanFactory} that creates it (c.f. the
|
||||
* {@link BeanFactoryAware} contract). So only use this constructor if you
|
||||
* are using this class outside the context of a Spring IoC container.
|
||||
* @param beanFactory the bean factory to be used to lookup {@link javax.jms.Destination Destinatiosn}
|
||||
* @param beanFactory the bean factory to be used to lookup {@link javax.jms.Destination Destination}
|
||||
*/
|
||||
public BeanFactoryDestinationResolver(BeanFactory beanFactory) {
|
||||
Assert.notNull(beanFactory, "BeanFactory is required");
|
||||
|
||||
@@ -272,7 +272,7 @@ public class JmsTemplateTests {
|
||||
}
|
||||
|
||||
/**
|
||||
* Test seding to a destination using the method
|
||||
* Test sending to a destination using the method
|
||||
* send(String d, MessageCreator messageCreator)
|
||||
*/
|
||||
@Test
|
||||
|
||||
@@ -46,7 +46,7 @@ public class JmsGatewaySupportTests {
|
||||
gateway.afterPropertiesSet();
|
||||
assertEquals("Correct ConnectionFactory", mockConnectionFactory, gateway.getConnectionFactory());
|
||||
assertEquals("Correct JmsTemplate", mockConnectionFactory, gateway.getJmsTemplate().getConnectionFactory());
|
||||
assertEquals("initGatway called", 1, test.size());
|
||||
assertEquals("initGateway called", 1, test.size());
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
@@ -30,7 +30,7 @@ import static org.mockito.BDDMockito.*;
|
||||
public class JmsDestinationAccessorTests {
|
||||
|
||||
@Test
|
||||
public void testChokesIfDestinationResolverIsetToNullExplcitly() throws Exception {
|
||||
public void testChokesIfDestinationResolverIsetToNullExplicitly() throws Exception {
|
||||
ConnectionFactory connectionFactory = mock(ConnectionFactory.class);
|
||||
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user