Class MessageParameter

  • All Implemented Interfaces:
    Copyable, Serializable

    public class MessageParameter
    extends ServiceInputParameter
    MessageParameter Class Used to parse the tag 'message-parameter' in file Queues.xml with XStream This class is used to instantiate message parameters for a queue
    Author:
    Pablo GARCIA - 31/OCT/2013
    See Also:
    Serialized Form
    • Constructor Detail

      • MessageParameter

        public MessageParameter()
    • Method Detail

      • getParameterValueList

        public List<Object> getParameterValueList​(Map<String,​Object> valueList)
        Retrieve parameter value list
        Parameters:
        valueList - Parameter values
        Returns:
        array with parameter values
      • getParameterValue

        public Object getParameterValue​(Map<String,​Object> valueList)
        Retrieve parameter value
        Parameters:
        valueList - Parameter values
        Returns:
        parameter value
      • getParameterValueListText

        public String getParameterValueListText​(Map<String,​Object> valueList,
                                                String separator)
        Retrieve parameter value list as text
        Parameters:
        valueList - Parameter values
        separator - Separator character
        Returns:
        String with value list
      • getParameterValueText

        public Object getParameterValueText​(Map<String,​Object> valueList)
        Retrieve parameter value
        Parameters:
        valueList - Parameter values
        Returns:
        parameter value