@@ -552,7 +552,7 @@ public <T> T execute(ProducerCallback<T> action) throws JmsException {
552552
553553 @ Override
554554 @ Nullable
555- public <T > T execute (final @ Nullable Destination destination , final ProducerCallback <T > action ) throws JmsException {
555+ public <T > T execute (@ Nullable Destination destination , ProducerCallback <T > action ) throws JmsException {
556556 Assert .notNull (action , "Callback object must not be null" );
557557 return execute (session -> {
558558 MessageProducer producer = createProducer (session , destination );
@@ -567,7 +567,7 @@ public <T> T execute(final @Nullable Destination destination, final ProducerCall
567567
568568 @ Override
569569 @ Nullable
570- public <T > T execute (final String destinationName , final ProducerCallback <T > action ) throws JmsException {
570+ public <T > T execute (String destinationName , ProducerCallback <T > action ) throws JmsException {
571571 Assert .notNull (action , "Callback object must not be null" );
572572 return execute (session -> {
573573 Destination destination = resolveDestinationName (session , destinationName );
@@ -598,15 +598,15 @@ public void send(MessageCreator messageCreator) throws JmsException {
598598 }
599599
600600 @ Override
601- public void send (final Destination destination , final MessageCreator messageCreator ) throws JmsException {
601+ public void send (Destination destination , MessageCreator messageCreator ) throws JmsException {
602602 execute (session -> {
603603 doSend (session , destination , messageCreator );
604604 return null ;
605605 }, false );
606606 }
607607
608608 @ Override
609- public void send (final String destinationName , final MessageCreator messageCreator ) throws JmsException {
609+ public void send (String destinationName , MessageCreator messageCreator ) throws JmsException {
610610 execute (session -> {
611611 Destination destination = resolveDestinationName (session , destinationName );
612612 doSend (session , destination , messageCreator );
@@ -678,12 +678,12 @@ public void convertAndSend(Object message) throws JmsException {
678678 }
679679
680680 @ Override
681- public void convertAndSend (Destination destination , final Object message ) throws JmsException {
681+ public void convertAndSend (Destination destination , Object message ) throws JmsException {
682682 send (destination , session -> getRequiredMessageConverter ().toMessage (message , session ));
683683 }
684684
685685 @ Override
686- public void convertAndSend (String destinationName , final Object message ) throws JmsException {
686+ public void convertAndSend (String destinationName , Object message ) throws JmsException {
687687 send (destinationName , session -> getRequiredMessageConverter ().toMessage (message , session ));
688688 }
689689
@@ -700,7 +700,7 @@ public void convertAndSend(Object message, MessagePostProcessor postProcessor) t
700700
701701 @ Override
702702 public void convertAndSend (
703- Destination destination , final Object message , final MessagePostProcessor postProcessor )
703+ Destination destination , Object message , MessagePostProcessor postProcessor )
704704 throws JmsException {
705705
706706 send (destination , session -> {
@@ -711,7 +711,7 @@ public void convertAndSend(
711711
712712 @ Override
713713 public void convertAndSend (
714- String destinationName , final Object message , final MessagePostProcessor postProcessor )
714+ String destinationName , Object message , MessagePostProcessor postProcessor )
715715 throws JmsException {
716716
717717 send (destinationName , session -> {
@@ -910,13 +910,13 @@ public Message sendAndReceive(MessageCreator messageCreator) throws JmsException
910910
911911 @ Override
912912 @ Nullable
913- public Message sendAndReceive (final Destination destination , final MessageCreator messageCreator ) throws JmsException {
913+ public Message sendAndReceive (Destination destination , MessageCreator messageCreator ) throws JmsException {
914914 return executeLocal (session -> doSendAndReceive (session , destination , messageCreator ), true );
915915 }
916916
917917 @ Override
918918 @ Nullable
919- public Message sendAndReceive (final String destinationName , final MessageCreator messageCreator ) throws JmsException {
919+ public Message sendAndReceive (String destinationName , MessageCreator messageCreator ) throws JmsException {
920920 return executeLocal (session -> {
921921 Destination destination = resolveDestinationName (session , destinationName );
922922 return doSendAndReceive (session , destination , messageCreator );
0 commit comments