Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
smart_gov_platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
smart_gov_platform
Commits
c2de36ad
Commit
c2de36ad
authored
Aug 26, 2022
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
网关日志添加
parent
81ab5a36
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
common-lib/src/main/java/com/mortals/xhx/system/RabbitConfig.java
...ib/src/main/java/com/mortals/xhx/system/RabbitConfig.java
+2
-2
No files found.
smart-gateway/src/main/java/com/mortals/xhx/base/framework/config
/RabbitConfig.java
→
common-lib/src/main/java/com/mortals/xhx/system
/RabbitConfig.java
View file @
c2de36ad
package
com.mortals.xhx.
base.framework.config
;
package
com.mortals.xhx.
system
;
import
org.springframework.amqp.rabbit.AsyncRabbitTemplate
;
import
org.springframework.amqp.rabbit.AsyncRabbitTemplate
;
import
org.springframework.amqp.rabbit.config.SimpleRabbitListenerContainerFactory
;
import
org.springframework.amqp.rabbit.config.SimpleRabbitListenerContainerFactory
;
...
@@ -13,7 +13,7 @@ import org.springframework.context.annotation.Configuration;
...
@@ -13,7 +13,7 @@ import org.springframework.context.annotation.Configuration;
@Configuration
@Configuration
public
class
RabbitConfig
{
public
class
RabbitConfig
{
@Bean
(
name
=
"consumerBatchContainerFactory"
)
//
@Bean(name = "consumerBatchContainerFactory")
public
SimpleRabbitListenerContainerFactory
consumerBatchContainerFactory
(
public
SimpleRabbitListenerContainerFactory
consumerBatchContainerFactory
(
SimpleRabbitListenerContainerFactoryConfigurer
configurer
,
ConnectionFactory
connectionFactory
)
{
SimpleRabbitListenerContainerFactoryConfigurer
configurer
,
ConnectionFactory
connectionFactory
)
{
// 创建 SimpleRabbitListenerContainerFactory 对象
// 创建 SimpleRabbitListenerContainerFactory 对象
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment