-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a8e6210
commit 242856b
Showing
25 changed files
with
206 additions
and
215 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
[package] | ||
org = "ballerinax" | ||
name = "nats_tests" | ||
version = "3.1.0" | ||
version = "3.1.1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,31 @@ | ||
[package] | ||
org = "ballerinax" | ||
name = "nats" | ||
version = "3.1.0" | ||
version = "3.1.1" | ||
authors = ["Ballerina"] | ||
keywords = ["service", "client", "messaging", "network", "pubsub"] | ||
repository = "https://github.com/ballerina-platform/module-ballerinax-nats" | ||
icon = "icon.png" | ||
license = ["Apache-2.0"] | ||
distribution = "2201.10.0" | ||
distribution = "2201.11.0-20241117-133400-a3054b77" | ||
|
||
[platform.java17] | ||
[platform.java21] | ||
graalvmCompatible = true | ||
|
||
[[platform.java17.dependency]] | ||
path = "./lib/jnats-2.16.0.jar" | ||
[[platform.java21.dependency]] | ||
path = "./lib/jnats-2.20.4.jar" | ||
|
||
[[platform.java17.dependency]] | ||
[[platform.java21.dependency]] | ||
groupId = "io.ballerina.stdlib" | ||
artifactId = "nats-native" | ||
version = "3.1.0" | ||
path = "../native/build/libs/nats-native-3.1.0.jar" | ||
version = "3.1.1" | ||
path = "../native/build/libs/nats-native-3.1.1-SNAPSHOT.jar" | ||
|
||
[[platform.java17.dependency]] | ||
[[platform.java21.dependency]] | ||
groupId = "io.ballerina.stdlib" | ||
artifactId = "constraint-native" | ||
version = "1.5.0" | ||
path = "./lib/constraint-native-1.5.0.jar" | ||
version = "1.6.0" | ||
path = "./lib/constraint-native-1.6.0-20241113-090900-d276ad5.jar" | ||
|
||
[build-options] | ||
observabilityIncluded=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,21 +7,21 @@ keywords = ["service", "client", "messaging", "network", "pubsub"] | |
repository = "https://github.com/ballerina-platform/module-ballerinax-nats" | ||
icon = "icon.png" | ||
license = ["Apache-2.0"] | ||
distribution = "2201.10.0" | ||
distribution = "2201.11.0-20241117-133400-a3054b77" | ||
|
||
[platform.java17] | ||
[platform.java21] | ||
graalvmCompatible = true | ||
|
||
[[platform.java17.dependency]] | ||
[[platform.java21.dependency]] | ||
path = "./lib/[email protected]@.jar" | ||
|
||
[[platform.java17.dependency]] | ||
[[platform.java21.dependency]] | ||
groupId = "io.ballerina.stdlib" | ||
artifactId = "nats-native" | ||
version = "@toml.version@" | ||
path = "../native/build/libs/[email protected]@.jar" | ||
|
||
[[platform.java17.dependency]] | ||
[[platform.java21.dependency]] | ||
groupId = "io.ballerina.stdlib" | ||
artifactId = "constraint-native" | ||
version = "@constraint.version@" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
native/src/main/java/io/ballerina/stdlib/nats/Handler.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
/* | ||
* Copyright (c) 2024 WSO2 Inc. (http://www.wso2.org) All Rights Reserved. | ||
* | ||
* WSO2 Inc. licenses this file to you under the Apache License, | ||
* Version 2.0 (the "License"); you may not use this file except | ||
* in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, | ||
* software distributed under the License is distributed on an | ||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
* KIND, either express or implied. See the License for the | ||
* specific language governing permissions and limitations | ||
* under the License. | ||
*/ | ||
package io.ballerina.stdlib.nats; | ||
|
||
import io.ballerina.runtime.api.values.BError; | ||
|
||
/** | ||
* This utility interface will support Classes that depends on notifySuccess and notifyFailure methods. | ||
*/ | ||
public interface Handler { | ||
void notifySuccess(Object result); | ||
|
||
void notifyFailure(BError bError); | ||
} |
Oops, something went wrong.