Skip to content

Commit

Permalink
fix:#103 support resolvePlaceholders for selectorExpression codestyle
Browse files Browse the repository at this point in the history
and update test class with actual meaning.
  • Loading branch information
16534 authored and 16534 committed Oct 28, 2019
1 parent be8b8a4 commit 24ac48d
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ public void testRocketMQTransactionListener() {
"demo.rocketmq.transaction.producer.group=transaction-group1").
withUserConfiguration(TestTransactionListenerConfig.class).
run((context) -> {
assertThat(context).hasSingleBean(MyRocketMQLocalTransactionListener.class);
assertThat(context).hasSingleBean(TestRocketMQLocalTransactionListener.class);

});

Expand Down Expand Up @@ -259,13 +259,13 @@ public void onMessage(Object message) {
static class TestTransactionListenerConfig {
@Bean
public Object rocketMQLocalTransactionListener() {
return new MyRocketMQLocalTransactionListener();
return new TestRocketMQLocalTransactionListener();
}

}

@RocketMQTransactionListener(txProducerGroup = "${demo.rocketmq.transaction.producer.group}")
static class MyRocketMQLocalTransactionListener implements RocketMQLocalTransactionListener {
static class TestRocketMQLocalTransactionListener implements RocketMQLocalTransactionListener {


@Override
Expand Down

0 comments on commit 24ac48d

Please sign in to comment.