2 Replies Latest reply on Feb 2, 2009 5:32 PM by Alena Li

    MessageDeliverException

    Alena Li Newbie

      I created a standlone client code to invoke an ESB service. I have included all client side jars advised in Programer Guide.odt. Now it can find service, but I am getting MessageDeliverException.

      my code is like this:


      Message message = MessageFactory.getInstance().getMessage();
      message.getBody().add(pblXml);

      ServiceInvoker si = new ServiceInvoker("CI", "CIQuerySP");
      System.out.println("get service invoker");// I can see this printout
      si.deliverAsync(message);


      org.jboss.soa.esb.listeners.message.MessageDeliverException: Failed to deliver message [header: [ To: JMSEpr [ PortReference < <wsa:Address jms://127.0.0.1:1099/queue/OIF_Request_service_esb/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.initial : org.jnp.interfaces.NamingContextFactory/>, <wsa:ReferenceProperties jbossesb:java.naming.provider.url : 127.0.0.1:1099/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.url.pkgs : org.jnp.interfaces/>, <wsa:ReferenceProperties jbossesb:destination-type : queue/>, <wsa:ReferenceProperties jbossesb:specification-version : 1.1/>, <wsa:ReferenceProperties jbossesb:connection-factory : ConnectionFactory/>, <wsa:ReferenceProperties jbossesb:persistent : true/>, <wsa:ReferenceProperties jbossesb:acknowledge-mode : AUTO_ACKNOWLEDGE/>, <wsa:ReferenceProperties jbossesb:transacted : false/>, <wsa:ReferenceProperties jbossesb:type : urn:jboss/esb/epr/type/jms/> > ] ]] to Service [JBossESB-Internal:DeadLetterService]. Check for errors.
      at org.jboss.soa.esb.client.ServiceInvoker.post(ServiceInvoker.java:361)
      at org.jboss.soa.esb.client.ServiceInvoker.deliverAsync(ServiceInvoker.java:227)
      at org.jboss.soa.esb.client.ServiceInvoker.deliverToDeadLetterService(ServiceInvoker.java:269)
      at org.jboss.soa.esb.client.ServiceInvoker.deliverAsync(ServiceInvoker.java:237)
      at com.cgi.sacwis.interfaces.client.common.OIFServiceCall.main(OIFServiceCall.java:276)


      Thank you very much for any advise,

      Alena