Merge "Update dmaap 1.1.9 changes" into casablanca
[policy/engine.git] / PolicyEngineUtils / src / main / java / org / onap / policy / utils / BusPublisher.java
index 3190aa0..7452135 100644 (file)
@@ -24,14 +24,12 @@ import java.util.ArrayList;
 import java.util.List;
 import java.util.Properties;
 import java.util.concurrent.TimeUnit;
-
+import org.onap.dmaap.mr.client.impl.MRSimplerBatchPublisher;
+import org.onap.dmaap.mr.test.clients.ProtocolTypeConstants;
 import org.onap.policy.common.logging.eelf.PolicyLogger;
 import org.onap.policy.common.logging.flexlogger.FlexLogger;
 import org.onap.policy.common.logging.flexlogger.Logger;
 
-import com.att.nsa.mr.client.impl.MRSimplerBatchPublisher;
-import com.att.nsa.mr.test.clients.ProtocolTypeConstants;
-
 public interface BusPublisher {
        
        /**
@@ -42,7 +40,7 @@ public interface BusPublisher {
         * @return true if success, false otherwise
         * @throws IllegalArgumentException if no message provided
         */
-       public boolean send(String partitionId, String message) throws IllegalArgumentException;
+       public boolean send(String partitionId, String message);
        
        /**
         * closes the publisher
@@ -114,8 +112,7 @@ public interface BusPublisher {
                 * {@inheritDoc}
                 */
                @Override
-               public boolean send(String partitionId, String message) 
-                               throws IllegalArgumentException {
+               public boolean send(String partitionId, String message){
                        if (message == null)
                                throw new IllegalArgumentException("No message provided");