public List<StepOption> retriveOptions() {
    return Arrays.asList(
      new StepOption( DISABLE_MESSAGE_ID, getString( PKG, "JmsDialog.Options.DISABLE_MESSAGE_ID" ), disableMessageId ),
      new StepOption( DISABLE_MESSAGE_TIMESTAMP, getString( PKG, "JmsDialog.Options.DISABLE_MESSAGE_TIMESTAMP" ),
        disableMessageTimestamp ),
      new StepOption( DELIVERY_MODE, getString( PKG, "JmsDialog.Options.DELIVERY_MODE" ), deliveryMode ),
      new StepOption( PRIORITY, getString( PKG, "JmsDialog.Options.PRIORITY" ), prio ),
      new StepOption( TIME_TO_LIVE, getString( PKG, "JmsDialog.Options.TIME_TO_LIVE" ), timeToLive ),
      new StepOption( DELIVERY_DELAY, getString( PKG, "JmsDialog.Options.DELIVERY_DELAY" ), deliveryDelay ),
      new StepOption( JMS_CORRELATION_ID, getString( PKG, "JmsDialog.Options.JMS_CORRELATION_ID" ), jmsCorrelationId ),
      new StepOption( JMS_TYPE, getString( PKG, "JmsDialog.Options.JMS_TYPE" ), jmsType )
    );
  }
@Test
  public void testRetriveOptions() {
    List<StepOption> compareStepOptions = Arrays.asList(
      new StepOption( DISABLE_MESSAGE_ID, getString( JmsProducerMeta.class, "JmsDialog.Options.DISABLE_MESSAGE_ID" ),
        "false" ),
      new StepOption( DISABLE_MESSAGE_TIMESTAMP,
        getString( JmsProducerMeta.class, "JmsDialog.Options.DISABLE_MESSAGE_TIMESTAMP" ), "true" ),
      new StepOption( DELIVERY_MODE, getString( JmsProducerMeta.class, "JmsDialog.Options.DELIVERY_MODE" ), "2" ),
      new StepOption( PRIORITY, getString( JmsProducerMeta.class, "JmsDialog.Options.PRIORITY" ), "3" ),
      new StepOption( TIME_TO_LIVE, getString( JmsProducerMeta.class, "JmsDialog.Options.TIME_TO_LIVE" ), "100" ),
      new StepOption( DELIVERY_DELAY, getString( JmsProducerMeta.class, "JmsDialog.Options.DELIVERY_DELAY" ), "20" ),
      new StepOption( JMS_CORRELATION_ID, getString( JmsProducerMeta.class, "JmsDialog.Options.JMS_CORRELATION_ID" ),
        "asdf" ),
      new StepOption( JMS_TYPE, getString( JmsProducerMeta.class, "JmsDialog.Options.JMS_TYPE" ), "myType" )
    );

    JmsProducerMeta jmsProducerMeta = new JmsProducerMeta();
    jmsProducerMeta.setDisableMessageId( "false" );
    jmsProducerMeta.setDisableMessageTimestamp( "true" );
    jmsProducerMeta.setDeliveryMode( "2" );
    jmsProducerMeta.setPriority( "3" );
    jmsProducerMeta.setTimeToLive( "100" );
    jmsProducerMeta.setDeliveryDelay( "20" );
    jmsProducerMeta.setJmsCorrelationId( "asdf" );
    jmsProducerMeta.setJmsType( "myType" );
    List<StepOption> stepOptions = jmsProducerMeta.retriveOptions();

    assertNotNull( stepOptions );
    assertEquals( 8, stepOptions.size() );

    assertOptions( compareStepOptions, stepOptions );
  }