// Path: spring-integration-aws/src/main/java/org/springframework/integration/aws/sns/SnsExecutorProxy.java
// public class SnsExecutorProxy {
// 
// 	private final SnsExecutor snsExecutor;
// 
// 	public SnsExecutorProxy(SnsExecutor snsExecutor) {
// 		super();
// 		this.snsExecutor = snsExecutor;
// 	}
// 
// 	public String getTopicArn() {
// 		return snsExecutor.getTopicArn();
// 	}
// }


import javax.servlet.http.HttpServletResponse;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.beans.factory.DisposableBean;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.integration.aws.sns.SnsExecutorProxy;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import com.amazonaws.auth.AWSCredentialsProvider;
import com.amazonaws.services.sns.AmazonSNS;
import com.amazonaws.services.sns.AmazonSNSClient;
import com.amazonaws.services.sns.model.PublishRequest;
package com.threepillar.labs.snssample.controller;




@Controller
public class UserMessageController implements InitializingBean, DisposableBean {

	private final Log log = LogFactory.getLog(getClass());

	private AWSCredentialsProvider awsCredentialsProvider;
// Path: spring-integration-aws/src/main/java/org/springframework/integration/aws/sns/SnsExecutorProxy.java
// public class SnsExecutorProxy {
// 
// 	private final SnsExecutor snsExecutor;
// 
// 	public SnsExecutorProxy(SnsExecutor snsExecutor) {
// 		super();
// 		this.snsExecutor = snsExecutor;
// 	}
// 
// 	public String getTopicArn() {
// 		return snsExecutor.getTopicArn();
// 	}
// }


// Path: int-aws-demo/src/main/java/com/threepillar/labs/snssample/controller/UserMessageController.java
import javax.servlet.http.HttpServletResponse;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.beans.factory.DisposableBean;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.integration.aws.sns.SnsExecutorProxy;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import com.amazonaws.auth.AWSCredentialsProvider;
import com.amazonaws.services.sns.AmazonSNS;
import com.amazonaws.services.sns.AmazonSNSClient;
import com.amazonaws.services.sns.model.PublishRequest;

package com.threepillar.labs.snssample.controller;




@Controller
public class UserMessageController implements InitializingBean, DisposableBean {

	private final Log log = LogFactory.getLog(getClass());

	private AWSCredentialsProvider awsCredentialsProvider;
	private SnsExecutorProxy snsExecutorProxy;