Interface JmsUnresolvedDestinationTransformer

All Known Implementing Classes:
JmsDefaultUnresolvedDestinationTransformer

public interface JmsUnresolvedDestinationTransformer
Defines an interface for a handler object that will be called when the transformation of a JMS Destination object fails to determine the proper destination type to create.
  • Method Summary

    Modifier and Type
    Method
    Description
    transform(jakarta.jms.Destination destination)
    Given a JMS Destination attempt to determine the type of JmsDestination to create.
    transform(String destination)
    Given a destination name return a matching JmsDestination object.
  • Method Details

    • transform

      JmsDestination transform(jakarta.jms.Destination destination) throws jakarta.jms.JMSException
      Given a JMS Destination attempt to determine the type of JmsDestination to create.
      Parameters:
      destination - the JMS destination that requires conversion to a JmsDestination type.
      Returns:
      a new JmsDestination instance to match the foreign destination.
      Throws:
      jakarta.jms.JMSException - if an error occurs during the transformation.
    • transform

      JmsDestination transform(String destination) throws jakarta.jms.JMSException
      Given a destination name return a matching JmsDestination object.
      Parameters:
      destination - the name of the destination to create a JmsDestination type for.
      Returns:
      a new JmsDestination object that matches the given name.
      Throws:
      jakarta.jms.JMSException - if an error occurs while transforming the name.