[jboss-svn-commits] JBL Code SVN: r6694 - labs/jbossesb/workspace/jokum/product/core/listeners/src/org/jboss/soa/esb/listeners

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Sun Oct 8 15:30:16 EDT 2006


Author: jokum
Date: 2006-10-08 15:30:15 -0400 (Sun, 08 Oct 2006)
New Revision: 6694

Modified:
   labs/jbossesb/workspace/jokum/product/core/listeners/src/org/jboss/soa/esb/listeners/HttpListener.java
Log:
License text added
fixed getting payload

Modified: labs/jbossesb/workspace/jokum/product/core/listeners/src/org/jboss/soa/esb/listeners/HttpListener.java
===================================================================
--- labs/jbossesb/workspace/jokum/product/core/listeners/src/org/jboss/soa/esb/listeners/HttpListener.java	2006-10-08 19:04:32 UTC (rev 6693)
+++ labs/jbossesb/workspace/jokum/product/core/listeners/src/org/jboss/soa/esb/listeners/HttpListener.java	2006-10-08 19:30:15 UTC (rev 6694)
@@ -1,3 +1,24 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2006, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
 package org.jboss.soa.esb.listeners;
 
 import java.util.concurrent.Future;
@@ -86,7 +107,8 @@
 	@SuppressWarnings("unchecked")
 	public Object invoke(InvocationRequest invocationRequest) throws Throwable {
 		//Retrieving the real payload of this invocationRequest
-		Object payload = invocationRequest.getRequestPayload();
+		Object payload = invocationRequest.getParameter();
+		
 		if (this.logger.isInfoEnabled()){
 			this.logger.info("HttpInvocationListener is invoked...The given payload is : " + payload);
 		}




More information about the jboss-svn-commits mailing list