i have this receiver for tibco ems, i publish on the same queue that i use to receive the message, the publish method is successful, but when i call my receive method it does nothing, what am i missing inside my code?

@Service
public class ConsumerServiceImpl implements ConsumerService {
    @Autowired
    private ConnectionFactory tibJmsConnectionFactory;

    @Value("${tibcoems.publisher.queueName}")
    private String queueName;



    @Override
    public String consumeMessage() {
        Message replyMessage = null;
        try {
            Connection connection = tibJmsConnectionFactory.createConnection();
            Session session = connection.createSession(Session.AUTO_ACKNOWLEDGE);
            Destination queue = session.createQueue(queueName);
            MessageConsumer messageConsumer = session.createConsumer(queue);
            connection.start();
            System.out.println("-----------received: " + messageConsumer.receive());

            connection.close();

        } catch (JMSException e) {
            System.out.println("Error: " + e.getMessage());
            throw new RuntimeException(e);
        }
        return replyMessage.toString();
    }
}