Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion amqp-client-auth/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<parent>
<artifactId>pulsar-protocol-handler-amqp-parent</artifactId>
<groupId>io.streamnative.pulsar.handlers</groupId>
<version>3.3.0-SNAPSHOT</version>
<version>4.2.1.6</version>
</parent>

<modelVersion>4.0.0</modelVersion>
Expand Down
2 changes: 1 addition & 1 deletion amqp-impl/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<groupId>io.streamnative.pulsar.handlers</groupId>
<artifactId>pulsar-protocol-handler-amqp-parent</artifactId>
<version>3.3.0-SNAPSHOT</version>
<version>4.2.1.6</version>
</parent>

<artifactId>pulsar-protocol-handler-amqp</artifactId>
Expand Down
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

<groupId>io.streamnative.pulsar.handlers</groupId>
<artifactId>pulsar-protocol-handler-amqp-parent</artifactId>
<version>3.3.0-SNAPSHOT</version>
<version>4.2.1.6</version>
<name>StreamNative :: Pulsar Protocol Handler :: AoP Parent</name>
<description>Parent for AMQP on Pulsar implemented using Pulsar Protocol Handler.</description>

Expand All @@ -40,10 +40,10 @@
<project.compiler.release>${maven.compiler.target}</project.compiler.release>

<!-- dependencies -->
<pulsar.version>4.2.0-SNAPSHOT</pulsar.version>
<pulsar.version>4.2.1.6</pulsar.version>
<qpid-protocol-plugin.version>8.0.0</qpid-protocol-plugin.version>
<rabbitmq.version>5.8.0</rabbitmq.version>
<sn.bom.version>4.2.0-SNAPSHOT</sn.bom.version>
<sn.bom.version>4.2.1.6</sn.bom.version>
<opentelemetry.version>1.56.0</opentelemetry.version>

<!-- test dependencies -->
Expand Down
2 changes: 1 addition & 1 deletion tests-qpid-jms-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<parent>
<groupId>io.streamnative.pulsar.handlers</groupId>
<artifactId>pulsar-protocol-handler-amqp-parent</artifactId>
<version>3.3.0-SNAPSHOT</version>
<version>4.2.1.6</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<groupId>io.streamnative.pulsar.handlers</groupId>
<artifactId>pulsar-protocol-handler-amqp-parent</artifactId>
<version>3.3.0-SNAPSHOT</version>
<version>4.2.1.6</version>
</parent>

<groupId>io.streamnative.pulsar.handlers</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,28 +74,26 @@ public void e2eTest() throws Exception {

AtomicInteger receiveCount = new AtomicInteger();
AtomicBoolean flag1 = new AtomicBoolean(false);
channel.basicConsume(qu1, false, new DefaultConsumer(channel) {
channel.basicConsume(qu1, true, new DefaultConsumer(channel) {
@Override
public void handleDelivery(String consumerTag, Envelope envelope, AMQP.BasicProperties properties,
byte[] body) throws IOException {
receiveCount.incrementAndGet();
if (!new String(body).contains(key1)) {
flag1.set(true);
}
channel.basicAck(envelope.getDeliveryTag(), false);
}
});

AtomicBoolean flag2 = new AtomicBoolean(false);
channel.basicConsume(qu2, false, new DefaultConsumer(channel) {
channel.basicConsume(qu2, true, new DefaultConsumer(channel) {
@Override
public void handleDelivery(String consumerTag, Envelope envelope, AMQP.BasicProperties properties,
byte[] body) throws IOException {
receiveCount.incrementAndGet();
if (!new String(body).contains(key2)) {
flag2.set(true);
}
channel.basicAck(envelope.getDeliveryTag(), false);
}
});

Expand Down
Loading