Skip to content

Instantly share code, notes, and snippets.

View atooni's full-sized avatar
💭
Diving deeper into Typescript and Effect

Andreas Gies atooni

💭
Diving deeper into Typescript and Effect
View GitHub Profile
@atooni
atooni / gist:7119789
Created October 23, 2013 14:23
Restrict interbroker connections to transport connectors with a given name
Enhancement: Restrict a network connector in FUSE ENTMQ to transport connectors with a specified name when using the fabric discovery url.
In an ActiveMQ setup we may want to separate the traffic between the message brokers and external clients from the traffic between the brokers participating in a network of brokers. For example we may have the external transport connector secured and the interbroker connector plain tcp.
To achieve that we would define a profile within fabric that has a broker config with at least two named transport connectors. The corresponding fabric discovery url would specify the broker group, but wouldn't allow to restrict the interbroker connection to only one of the configured transport connectors.
In a future release that could be realiyzed as part orf the url (something like fab:/default/ib) or as a property of the network connector (something like "preferred-transport-name").
@atooni
atooni / gist:7101519
Last active December 26, 2015 05:29
Stack trace during container-list
2013-10-22 16:08:20,279 | WARN | ool-114-thread-1 | GitDataStore | fabric.git.internal.GitDataStore 1175 | 80 - org.fusesource.fabric.fabric-git - 7.3.0.redhat-129 | Failed to perform a pull org.fusesource.fabric.api.FabricException: org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss
org.fusesource.fabric.api.FabricException: org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss
at org.fusesource.fabric.api.FabricException.launderThrowable(FabricException.java:44)
at org.fusesource.fabric.git.internal.GitDataStore.gitOperation(GitDataStore.java:857)[80:org.fusesource.fabric.fabric-git:7.3.0.redhat-129]
at org.fusesource.fabric.git.internal.GitDataStore.gitOperation(GitDataStore.java:810)[80:org.fusesource.fabric.fabric-git:7.3.0.redhat-129]
at org.fusesource.fabric.git.internal.GitDataStore.gitOperation(GitDataStore.java:799)[80:org.fusesource.fabric.fabric-git:7.3.0.redhat-129]
at org.fusesource.fab
@atooni
atooni / gist:6976876
Created October 14, 2013 14:49
Package imports
System Bundle (0): org.osgi.framework.wiring; version=1.1.0
System Bundle (0): org.osgi.framework; version=1.7.0
System Bundle (0): org.osgi.resource; version=1.0.0
System Bundle (0): org.osgi.service.url; version=1.0.0
System Bundle (0): org.osgi.service.url; version=1.0.0
System Bundle (0): org.osgi.util.tracker; version=1.5.1
System Bundle (0): javax.net.ssl; version=0.0.0
System Bundle (0): javax.xml.namespace; version=0.0.0
System Bundle (0): javax.xml.parsers; version=0.0.0
System Bundle (0): javax.xml.transform; version=0.0.0