Commit 4e6d82a2 authored by yanzg's avatar yanzg

表结构修改

parent de450159
...@@ -9,8 +9,10 @@ import com.yanzuoguang.mq.vo.MessageVo; ...@@ -9,8 +9,10 @@ import com.yanzuoguang.mq.vo.MessageVo;
import com.yanzuoguang.util.helper.DateHelper; import com.yanzuoguang.util.helper.DateHelper;
import com.yanzuoguang.util.helper.StringHelper; import com.yanzuoguang.util.helper.StringHelper;
import com.yanzuoguang.util.log.Log; import com.yanzuoguang.util.log.Log;
import org.springframework.amqp.AmqpException; import org.springframework.amqp.core.AcknowledgeMode;
import org.springframework.amqp.core.*; import org.springframework.amqp.core.Message;
import org.springframework.amqp.core.MessageDeliveryMode;
import org.springframework.amqp.core.MessageProperties;
import org.springframework.amqp.rabbit.connection.ConnectionFactory; import org.springframework.amqp.rabbit.connection.ConnectionFactory;
import org.springframework.amqp.rabbit.core.ChannelAwareMessageListener; import org.springframework.amqp.rabbit.core.ChannelAwareMessageListener;
import org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer; import org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer;
...@@ -173,7 +175,7 @@ public class MessageSendServiceImpl implements MessageSendService { ...@@ -173,7 +175,7 @@ public class MessageSendServiceImpl implements MessageSendService {
*/ */
@Override @Override
public SimpleMessageListenerContainer init(String queueName, int concurrency, ChannelAwareMessageListener messageListener) { public SimpleMessageListenerContainer init(String queueName, int concurrency, ChannelAwareMessageListener messageListener) {
return this.init(queueName, concurrency, 0, messageListener); return this.init(queueName, concurrency, concurrency, messageListener);
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment