FileDocCategorySizeDatePackage
ExampleConsumerBean.javaAPI DocJBoss 4.2.11936Fri Jul 13 20:54:48 BST 2007org.jboss.tutorial.consumer_deployment_descriptor.bean

ExampleConsumerBean

public class ExampleConsumerBean extends Object implements ExampleProducerLocal, ExampleProducerRemote, ExampleProducerXA

Fields Summary
private javax.jms.Message
currentMessage
Constructors Summary
Methods Summary
public voidmethod1(java.lang.String msg, int val)

      System.out.println("method1(" + msg + ", " + val + ")");
   
public voidmethod2(java.lang.String msg, java.util.Map map)

      System.out.println("method2: " + msg);
      for (String key : map.keySet())
      {
         System.out.println("method2 key/val: " + key + ":" + map.get(key));
      }