Skip to content

Commit

Permalink
- Removed shared transport (https://issues.jboss.org/browse/JGRP-1844)
Browse files Browse the repository at this point in the history
- Removed deprecated classes, methods and fields (https://issues.jboss.org/browse/JGRP-2006)
- ant jar works now
- Updated manual on buffer reuse when sending
- JUnitXmlReporter now prints method name correctly
  • Loading branch information
belaban committed Jan 25, 2016
1 parent 1fbf52e commit 041c01b
Show file tree
Hide file tree
Showing 141 changed files with 358 additions and 17,788 deletions.
21 changes: 9 additions & 12 deletions build.xml
Expand Up @@ -329,7 +329,7 @@


<target name="jgroups.jar" <target name="jgroups.jar"
description="Creates the jgroups.jar (includes everything)" description="Creates the jgroups.jar (includes everything)"
depends="clean,compile-no-unittests,compile-essential-unittests,create-schema"> depends="clean,compile-no-unittests,compile-essential-unittests,make-schema,make-keystore">
<mkdir dir="${dist.dir}"/> <mkdir dir="${dist.dir}"/>
<xmlproperty file="${ant.file}" collapseAttributes="true" prefix="bnd"/> <xmlproperty file="${ant.file}" collapseAttributes="true" prefix="bnd"/>
<property name="bndclasspath" refid="jg.classpath"/> <property name="bndclasspath" refid="jg.classpath"/>
Expand Down Expand Up @@ -371,7 +371,7 @@
<property name="-output" value="${conf.dir}"/> <property name="-output" value="${conf.dir}"/>
<taskdef resource="aQute/bnd/ant/taskdef.properties" classpathref="jg.classpath"/> <taskdef resource="aQute/bnd/ant/taskdef.properties" classpathref="jg.classpath"/>
<bnd <bnd
classpath="" classpath="${bndclasspath}"
eclipse="false" eclipse="false"
failok="false" failok="false"
exceptions="true" exceptions="true"
Expand Down Expand Up @@ -502,27 +502,24 @@
</copy> </copy>
</target--> </target-->


<target name="make-schema" description="Creates XML schema for this version of JGroups" <target name="make-schema" description="Creates XML schema for this version of JGroups">
depends="create-schema">
</target>

<target name="create-schema" description="Creates XML schema for this version of JGroups">
<delete dir="${compile.dir}/schema" failonerror="false"/> <delete dir="${compile.dir}/schema" failonerror="false"/>
<mkdir dir="${compile.dir}/schema"/> <mkdir dir="${compile.dir}/schema"/>
<java classname="org.jgroups.util.XMLSchemaGenerator" classpathref="jg.classpath"> <java classname="org.jgroups.util.XMLSchemaGenerator" classpathref="jg.classpath" fork="true">
<arg line="-o ${compile.dir}/schema"/> <arg line="-o ${compile.dir}/schema"/>
</java> </java>
<copy todir="${compile.dir}/schema"> <copy todir="${compile.dir}/schema">
<fileset dir="${conf.dir}"> <fileset dir="${conf.dir}">
<include name="*.xsd"/> <include name="*.xsd"/>
</fileset> </fileset>
</copy> </copy>
<copy todir="${compile.dir}/schema"> <!-- Leave a schema named jgrous-4.x.xsd -->
<!-- <copy todir="${compile.dir}/schema">
<fileset dir="${compile.dir}/schema"> <fileset dir="${compile.dir}/schema">
<include name="jgroups*.xsd"/> <include name="jgroups*.xsd"/>
</fileset> </fileset>
<globmapper from="jgroups*.xsd" to="jgroups.xsd"/> <globmapper from="jgroups*.xsd" to="jgroups.xsd"/>
</copy> </copy>-->
</target> </target>




Expand Down Expand Up @@ -573,7 +570,7 @@
</target> </target>




<target name="makeKeystore" unless="isKeyStoreGenerated" <target name="make-keystore" unless="isKeyStoreGenerated"
depends="keyStoreGenerated, compile" depends="keyStoreGenerated, compile"
description="Generates a temp keystore in ./keystore (for unit tests)"> description="Generates a temp keystore in ./keystore (for unit tests)">
<mkdir dir="${keystore.dir}"/> <mkdir dir="${keystore.dir}"/>
Expand All @@ -598,7 +595,7 @@
</condition> </condition>
</target> </target>


<target name="postcompile" depends="makeKeystore"> <target name="postcompile" depends="make-keystore">
</target> </target>


<!-- <!--
Expand Down
3 changes: 0 additions & 3 deletions conf/fast.xml
Expand Up @@ -19,7 +19,6 @@
mcast_recv_buf_size="5M" mcast_recv_buf_size="5M"
mcast_send_buf_size="5M" mcast_send_buf_size="5M"
max_bundle_size="64K" max_bundle_size="64K"
max_bundle_timeout="30"
enable_diagnostics="true" enable_diagnostics="true"
thread_naming_pattern="cl" thread_naming_pattern="cl"


Expand All @@ -29,15 +28,13 @@
timer.keep_alive_time="3000" timer.keep_alive_time="3000"
timer.queue_max_size="500" timer.queue_max_size="500"


thread_pool.enabled="true"
thread_pool.min_threads="2" thread_pool.min_threads="2"
thread_pool.max_threads="8" thread_pool.max_threads="8"
thread_pool.keep_alive_time="5000" thread_pool.keep_alive_time="5000"
thread_pool.queue_enabled="true" thread_pool.queue_enabled="true"
thread_pool.queue_max_size="100000" thread_pool.queue_max_size="100000"
thread_pool.rejection_policy="discard" thread_pool.rejection_policy="discard"


oob_thread_pool.enabled="true"
oob_thread_pool.min_threads="1" oob_thread_pool.min_threads="1"
oob_thread_pool.max_threads="8" oob_thread_pool.max_threads="8"
oob_thread_pool.keep_alive_time="5000" oob_thread_pool.keep_alive_time="5000"
Expand Down
26 changes: 0 additions & 26 deletions conf/flush-tcp.xml

This file was deleted.

10 changes: 0 additions & 10 deletions conf/jg-magic-map.xml
Expand Up @@ -6,10 +6,8 @@
<class id="6" name="org.jgroups.protocols.FD_SOCK$FdHeader"/> <class id="6" name="org.jgroups.protocols.FD_SOCK$FdHeader"/>
<class id="7" name="org.jgroups.protocols.FragHeader"/> <class id="7" name="org.jgroups.protocols.FragHeader"/>
<class id="13" name="org.jgroups.protocols.PingHeader"/> <class id="13" name="org.jgroups.protocols.PingHeader"/>
<class id="21" name="org.jgroups.protocols.UNICAST$UnicastHeader"/>
<class id="22" name="org.jgroups.protocols.VERIFY_SUSPECT$VerifyHeader"/> <class id="22" name="org.jgroups.protocols.VERIFY_SUSPECT$VerifyHeader"/>
<class id="24" name="org.jgroups.protocols.pbcast.GMS$GmsHeader"/> <class id="24" name="org.jgroups.protocols.pbcast.GMS$GmsHeader"/>
<class id="25" name="org.jgroups.protocols.pbcast.NakAckHeader"/>
<class id="27" name="org.jgroups.protocols.pbcast.STABLE$StableHeader"/> <class id="27" name="org.jgroups.protocols.pbcast.STABLE$StableHeader"/>
<class id="28" name="org.jgroups.protocols.pbcast.STATE_TRANSFER$StateHeader"/> <class id="28" name="org.jgroups.protocols.pbcast.STATE_TRANSFER$StateHeader"/>
<class id="30" name="org.jgroups.Message"/> <class id="30" name="org.jgroups.Message"/>
Expand All @@ -34,17 +32,12 @@
<class id="68" name="org.jgroups.util.UUID"/> <class id="68" name="org.jgroups.util.UUID"/>
<class id="71" name="org.jgroups.blocks.RequestCorrelator$Header"/> <class id="71" name="org.jgroups.blocks.RequestCorrelator$Header"/>
<class id="72" name="org.jgroups.blocks.RequestCorrelator$MultiDestinationHeader"/> <class id="72" name="org.jgroups.blocks.RequestCorrelator$MultiDestinationHeader"/>
<class id="73" name="org.jgroups.protocols.UNICAST2$Unicast2Header"/>
<class id="74" name="org.jgroups.protocols.SCOPE$ScopeHeader"/>
<class id="75" name="org.jgroups.blocks.mux.MuxHeader"/> <class id="75" name="org.jgroups.blocks.mux.MuxHeader"/>
<class id="76" name="org.jgroups.protocols.DAISYCHAIN$DaisyHeader"/> <class id="76" name="org.jgroups.protocols.DAISYCHAIN$DaisyHeader"/>
<class id="77" name="org.jgroups.protocols.RELAY$RelayHeader"/> <class id="77" name="org.jgroups.protocols.RELAY$RelayHeader"/>
<class id="78" name="org.jgroups.protocols.STOMP$StompHeader"/> <class id="78" name="org.jgroups.protocols.STOMP$StompHeader"/>
<class id="80" name="org.jgroups.protocols.PrioHeader"/> <class id="80" name="org.jgroups.protocols.PrioHeader"/>
<class id="81" name="org.jgroups.protocols.Locking$LockingHeader"/> <class id="81" name="org.jgroups.protocols.Locking$LockingHeader"/>
<class id="82" name="org.jgroups.util.PayloadUUID"/>
<class id="83" name="org.jgroups.util.AdditionalDataUUID"/>
<class id="84" name="org.jgroups.util.TopologyUUID"/>
<class id="85" name="org.jgroups.protocols.Executing$ExecutorHeader"/> <class id="85" name="org.jgroups.protocols.Executing$ExecutorHeader"/>
<class id="86" name="org.jgroups.protocols.Executing$Request"/> <class id="86" name="org.jgroups.protocols.Executing$Request"/>
<class id="87" name="org.jgroups.blocks.executor.ExecutionService$RunnableAdapter"/> <class id="87" name="org.jgroups.blocks.executor.ExecutionService$RunnableAdapter"/>
Expand All @@ -61,8 +54,6 @@
<class id="98" name="org.jgroups.protocols.relay.SiteMaster"/> <class id="98" name="org.jgroups.protocols.relay.SiteMaster"/>
<class id="99" name="org.jgroups.protocols.relay.RELAY2$Relay2Header"/> <class id="99" name="org.jgroups.protocols.relay.RELAY2$Relay2Header"/>
<class id="100" name="org.jgroups.protocols.FORWARD_TO_COORD$ForwardHeader"/> <class id="100" name="org.jgroups.protocols.FORWARD_TO_COORD$ForwardHeader"/>
<class id="101" name="org.jgroups.protocols.relay.CanBeSiteMaster"/>
<class id="102" name="org.jgroups.protocols.relay.CanBeSiteMasterTopology"/>
<class id="103" name="org.jgroups.auth.SimpleToken"/> <class id="103" name="org.jgroups.auth.SimpleToken"/>
<class id="104" name="org.jgroups.auth.FixedMembershipToken"/> <class id="104" name="org.jgroups.auth.FixedMembershipToken"/>
<class id="105" name="org.jgroups.auth.MD5Token"/> <class id="105" name="org.jgroups.auth.MD5Token"/>
Expand All @@ -74,7 +65,6 @@
<class id="111" name="org.jgroups.util.ExtendedUUID"/> <class id="111" name="org.jgroups.util.ExtendedUUID"/>
<class id="112" name="org.jgroups.protocols.SaslHeader"/> <class id="112" name="org.jgroups.protocols.SaslHeader"/>
<class id="113" name="org.jgroups.protocols.SEQUENCER2$SequencerHeader"/> <class id="113" name="org.jgroups.protocols.SEQUENCER2$SequencerHeader"/>
<class id="114" name="org.jgroups.protocols.MERGE2$MergeHeader"/>
<class id="115" name="org.jgroups.protocols.ABP$ABPHeader"/> <class id="115" name="org.jgroups.protocols.ABP$ABPHeader"/>
</magic-number-class-mapping> </magic-number-class-mapping>


8 changes: 0 additions & 8 deletions conf/jg-protocol-ids.xml
Expand Up @@ -12,17 +12,13 @@
<class id="9" name="org.jgroups.protocols.FILE_PING"/> <class id="9" name="org.jgroups.protocols.FILE_PING"/>
<class id="10" name="org.jgroups.protocols.TCPPING"/> <class id="10" name="org.jgroups.protocols.TCPPING"/>
<class id="11" name="org.jgroups.protocols.TCPGOSSIP"/> <class id="11" name="org.jgroups.protocols.TCPGOSSIP"/>
<class id="12" name="org.jgroups.protocols.UNICAST"/>
<class id="13" name="org.jgroups.protocols.VERIFY_SUSPECT"/> <class id="13" name="org.jgroups.protocols.VERIFY_SUSPECT"/>
<class id="14" name="org.jgroups.protocols.pbcast.GMS"/> <class id="14" name="org.jgroups.protocols.pbcast.GMS"/>
<class id="15" name="org.jgroups.protocols.pbcast.NAKACK"/>
<class id="16" name="org.jgroups.protocols.pbcast.STABLE"/> <class id="16" name="org.jgroups.protocols.pbcast.STABLE"/>
<class id="17" name="org.jgroups.protocols.pbcast.STATE_TRANSFER"/> <class id="17" name="org.jgroups.protocols.pbcast.STATE_TRANSFER"/>
<class id="19" name="org.jgroups.protocols.COMPRESS"/> <class id="19" name="org.jgroups.protocols.COMPRESS"/>
<class id="20" name="org.jgroups.protocols.FC"/>
<class id="21" name="org.jgroups.protocols.UDP"/> <class id="21" name="org.jgroups.protocols.UDP"/>
<class id="22" name="org.jgroups.protocols.TCP"/> <class id="22" name="org.jgroups.protocols.TCP"/>
<class id="23" name="org.jgroups.protocols.TCP_NIO"/>
<class id="24" name="org.jgroups.protocols.TUNNEL"/> <class id="24" name="org.jgroups.protocols.TUNNEL"/>
<class id="25" name="org.jgroups.protocols.ENCRYPT"/> <class id="25" name="org.jgroups.protocols.ENCRYPT"/>
<class id="26" name="org.jgroups.protocols.SEQUENCER"/> <class id="26" name="org.jgroups.protocols.SEQUENCER"/>
Expand All @@ -34,8 +30,6 @@
<class id="35" name="org.jgroups.protocols.pbcast.STATE_SOCK"/> <class id="35" name="org.jgroups.protocols.pbcast.STATE_SOCK"/>
<class id="37" name="org.jgroups.protocols.DISCARD"/> <class id="37" name="org.jgroups.protocols.DISCARD"/>
<class id="39" name="org.jgroups.protocols.SHARED_LOOPBACK"/> <class id="39" name="org.jgroups.protocols.SHARED_LOOPBACK"/>
<class id="40" name="org.jgroups.protocols.UNICAST2"/>
<class id="41" name="org.jgroups.protocols.SCOPE"/>
<class id="42" name="org.jgroups.protocols.DAISYCHAIN"/> <class id="42" name="org.jgroups.protocols.DAISYCHAIN"/>
<class id="43" name="org.jgroups.protocols.RELAY"/> <class id="43" name="org.jgroups.protocols.RELAY"/>
<class id="44" name="org.jgroups.protocols.MFC"/> <class id="44" name="org.jgroups.protocols.MFC"/>
Expand All @@ -45,7 +39,6 @@
<class id="48" name="org.jgroups.protocols.PRIO"/> <class id="48" name="org.jgroups.protocols.PRIO"/>
<class id="49" name="org.jgroups.protocols.BPING"/> <class id="49" name="org.jgroups.protocols.BPING"/>
<class id="50" name="org.jgroups.protocols.CENTRAL_LOCK"/> <class id="50" name="org.jgroups.protocols.CENTRAL_LOCK"/>
<class id="51" name="org.jgroups.protocols.PEER_LOCK"/>
<class id="52" name="org.jgroups.protocols.CENTRAL_EXECUTOR"/> <class id="52" name="org.jgroups.protocols.CENTRAL_EXECUTOR"/>
<class id="53" name="org.jgroups.protocols.COUNTER"/> <class id="53" name="org.jgroups.protocols.COUNTER"/>
<class id="54" name="org.jgroups.protocols.MERGE3"/> <class id="54" name="org.jgroups.protocols.MERGE3"/>
Expand All @@ -64,7 +57,6 @@
<class id="68" name="org.jgroups.protocols.SASL"/> <class id="68" name="org.jgroups.protocols.SASL"/>
<class id="69" name="org.jgroups.protocols.GOOGLE_PING"/> <class id="69" name="org.jgroups.protocols.GOOGLE_PING"/>
<class id="70" name="org.jgroups.protocols.SEQUENCER2"/> <class id="70" name="org.jgroups.protocols.SEQUENCER2"/>
<class id="71" name="org.jgroups.protocols.MERGE2"/>
<class id="72" name="org.jgroups.protocols.FD_HOST"/> <class id="72" name="org.jgroups.protocols.FD_HOST"/>
<class id="73" name="org.jgroups.protocols.ABP"/> <class id="73" name="org.jgroups.protocols.ABP"/>
<class id="74" name="org.jgroups.protocols.TCP_NIO2"/> <class id="74" name="org.jgroups.protocols.TCP_NIO2"/>
Expand Down
3 changes: 0 additions & 3 deletions conf/tcp-nio.xml
Expand Up @@ -12,7 +12,6 @@
recv_buf_size="${tcp.recv_buf_size:5M}" recv_buf_size="${tcp.recv_buf_size:5M}"
send_buf_size="${tcp.send_buf_size:5M}" send_buf_size="${tcp.send_buf_size:5M}"
max_bundle_size="64K" max_bundle_size="64K"
max_bundle_timeout="30"
sock_conn_timeout="300" sock_conn_timeout="300"


timer_type="new3" timer_type="new3"
Expand All @@ -21,15 +20,13 @@
timer.keep_alive_time="3000" timer.keep_alive_time="3000"
timer.queue_max_size="500" timer.queue_max_size="500"


thread_pool.enabled="true"
thread_pool.min_threads="2" thread_pool.min_threads="2"
thread_pool.max_threads="8" thread_pool.max_threads="8"
thread_pool.keep_alive_time="5000" thread_pool.keep_alive_time="5000"
thread_pool.queue_enabled="true" thread_pool.queue_enabled="true"
thread_pool.queue_max_size="10000" thread_pool.queue_max_size="10000"
thread_pool.rejection_policy="discard" thread_pool.rejection_policy="discard"


oob_thread_pool.enabled="true"
oob_thread_pool.min_threads="1" oob_thread_pool.min_threads="1"
oob_thread_pool.max_threads="8" oob_thread_pool.max_threads="8"
oob_thread_pool.keep_alive_time="5000" oob_thread_pool.keep_alive_time="5000"
Expand Down
4 changes: 0 additions & 4 deletions conf/tcp.xml
Expand Up @@ -12,8 +12,6 @@
recv_buf_size="${tcp.recv_buf_size:5M}" recv_buf_size="${tcp.recv_buf_size:5M}"
send_buf_size="${tcp.send_buf_size:5M}" send_buf_size="${tcp.send_buf_size:5M}"
max_bundle_size="64K" max_bundle_size="64K"
max_bundle_timeout="30"
use_send_queues="true"
sock_conn_timeout="300" sock_conn_timeout="300"


timer_type="new3" timer_type="new3"
Expand All @@ -22,15 +20,13 @@
timer.keep_alive_time="3000" timer.keep_alive_time="3000"
timer.queue_max_size="500" timer.queue_max_size="500"


thread_pool.enabled="true"
thread_pool.min_threads="2" thread_pool.min_threads="2"
thread_pool.max_threads="8" thread_pool.max_threads="8"
thread_pool.keep_alive_time="5000" thread_pool.keep_alive_time="5000"
thread_pool.queue_enabled="true" thread_pool.queue_enabled="true"
thread_pool.queue_max_size="10000" thread_pool.queue_max_size="10000"
thread_pool.rejection_policy="discard" thread_pool.rejection_policy="discard"


oob_thread_pool.enabled="true"
oob_thread_pool.min_threads="1" oob_thread_pool.min_threads="1"
oob_thread_pool.max_threads="8" oob_thread_pool.max_threads="8"
oob_thread_pool.keep_alive_time="5000" oob_thread_pool.keep_alive_time="5000"
Expand Down
3 changes: 1 addition & 2 deletions conf/tcpgossip.xml
Expand Up @@ -10,8 +10,7 @@
xmlns="urn:org:jgroups" xmlns="urn:org:jgroups"
xsi:schemaLocation="urn:org:jgroups http://www.jgroups.org/schema/jgroups.xsd"> xsi:schemaLocation="urn:org:jgroups http://www.jgroups.org/schema/jgroups.xsd">
<TCP bind_port="7800" <TCP bind_port="7800"
use_send_queues="true" sock_conn_timeout="300"/>
sock_conn_timeout="300"/>
<TCPGOSSIP initial_hosts="${jgroups.tunnel.gossip_router_hosts:localhost[12001]}"/> <TCPGOSSIP initial_hosts="${jgroups.tunnel.gossip_router_hosts:localhost[12001]}"/>
<MERGE3/> <MERGE3/>
<FD/> <FD/>
Expand Down
3 changes: 0 additions & 3 deletions conf/udp-largecluster.xml
Expand Up @@ -17,7 +17,6 @@
mcast_recv_buf_size="5M" mcast_recv_buf_size="5M"
mcast_send_buf_size="5M" mcast_send_buf_size="5M"
max_bundle_size="64K" max_bundle_size="64K"
max_bundle_timeout="30"
enable_diagnostics="true" enable_diagnostics="true"
thread_naming_pattern="cl" thread_naming_pattern="cl"
logical_addr_cache_max_size="1000" logical_addr_cache_max_size="1000"
Expand All @@ -29,15 +28,13 @@
timer.queue_max_size="500" timer.queue_max_size="500"
timer.rejection_policy="abort" timer.rejection_policy="abort"


thread_pool.enabled="true"
thread_pool.min_threads="10" thread_pool.min_threads="10"
thread_pool.max_threads="100" thread_pool.max_threads="100"
thread_pool.keep_alive_time="5000" thread_pool.keep_alive_time="5000"
thread_pool.queue_enabled="true" thread_pool.queue_enabled="true"
thread_pool.queue_max_size="50000" thread_pool.queue_max_size="50000"
thread_pool.rejection_policy="discard" thread_pool.rejection_policy="discard"


oob_thread_pool.enabled="true"
oob_thread_pool.min_threads="5" oob_thread_pool.min_threads="5"
oob_thread_pool.max_threads="100" oob_thread_pool.max_threads="100"
oob_thread_pool.keep_alive_time="5000" oob_thread_pool.keep_alive_time="5000"
Expand Down
3 changes: 0 additions & 3 deletions conf/udp.xml
Expand Up @@ -17,7 +17,6 @@
mcast_recv_buf_size="5M" mcast_recv_buf_size="5M"
mcast_send_buf_size="5M" mcast_send_buf_size="5M"
max_bundle_size="64K" max_bundle_size="64K"
max_bundle_timeout="30"
enable_diagnostics="true" enable_diagnostics="true"
thread_naming_pattern="cl" thread_naming_pattern="cl"


Expand All @@ -27,15 +26,13 @@
timer.keep_alive_time="3000" timer.keep_alive_time="3000"
timer.queue_max_size="500" timer.queue_max_size="500"


thread_pool.enabled="true"
thread_pool.min_threads="2" thread_pool.min_threads="2"
thread_pool.max_threads="8" thread_pool.max_threads="8"
thread_pool.keep_alive_time="5000" thread_pool.keep_alive_time="5000"
thread_pool.queue_enabled="true" thread_pool.queue_enabled="true"
thread_pool.queue_max_size="10000" thread_pool.queue_max_size="10000"
thread_pool.rejection_policy="discard" thread_pool.rejection_policy="discard"


oob_thread_pool.enabled="true"
oob_thread_pool.min_threads="1" oob_thread_pool.min_threads="1"
oob_thread_pool.max_threads="8" oob_thread_pool.max_threads="8"
oob_thread_pool.keep_alive_time="5000" oob_thread_pool.keep_alive_time="5000"
Expand Down
25 changes: 24 additions & 1 deletion doc/manual/api.adoc
Expand Up @@ -780,7 +780,30 @@ channel.send(receiver, "hello world");
---- ----


The sample code determines the coordinator (first member of the view) and sends it a "hello world" message. The sample code determines the coordinator (first member of the view) and sends it a "hello world" message.



===== A note about buffer reuse
The following code is wrong:

[source,java]
----
protected void sendFile() throws Exception {
FileInputStream in=new FileInputStream(filename);
byte[] buf=new byte[8096];
for(;;) {
int bytes=in.read(buf);
if(bytes == -1)
break;
channel.send(new Message(null, buf, 0, bytes));
}
}
----

* Buffer `buf` is reused and can get overwritten with new data while JGroups
** queues the message in a bundler and sends multiple messages as a message batch
** possibly retransmits the message if not received by the receiver(s); retransmitting the changed buffer
* Correct: move `buf` into the for loop



[[DiscardingOwnMessages]] [[DiscardingOwnMessages]]
===== Discarding one's own messages ===== Discarding one's own messages
Expand Down
2 changes: 1 addition & 1 deletion ivy.xml
Expand Up @@ -11,7 +11,7 @@
</publications> </publications>


<dependencies> <dependencies>
<dependency org="biz.aQute" name="bnd" rev="2.4+"/> <dependency org="biz.aQute.bnd" name="bnd" rev="2.4+"/>
<dependency org="org.bouncycastle" name="bcprov-jdk16" rev="1.4+"/> <dependency org="org.bouncycastle" name="bcprov-jdk16" rev="1.4+"/>
<dependency org="org.jboss.byteman" name="byteman" rev="3.+"/> <dependency org="org.jboss.byteman" name="byteman" rev="3.+"/>
<dependency org="org.jboss.byteman" name="byteman-bmunit" rev="3.+"/> <dependency org="org.jboss.byteman" name="byteman-bmunit" rev="3.+"/>
Expand Down
6 changes: 6 additions & 0 deletions ivysettings.xml
Expand Up @@ -6,6 +6,9 @@
<property name="nexus-public" <property name="nexus-public"
value="https://repository.jboss.org/nexus/service/local/staging/deploy/maven2"/> value="https://repository.jboss.org/nexus/service/local/staging/deploy/maven2"/>


<property name="nexus-public-and-snapshots"
value="https://repository.jboss.org/nexus/content/groups/public-jboss"/>

<property <property
name="m2-location" name="m2-location"
value="${user.home}/.m2/jboss-repository" value="${user.home}/.m2/jboss-repository"
Expand Down Expand Up @@ -36,11 +39,14 @@


<ibiblio name="nexus" m2compatible="true" root="${nexus-public}"/> <ibiblio name="nexus" m2compatible="true" root="${nexus-public}"/>


<ibiblio name="snapshots" m2compatible="true" root="${nexus-public-and-snapshots}"/>

<!-- Tries to find an artifact in the local maven repo first --> <!-- Tries to find an artifact in the local maven repo first -->
<chain name="default"> <chain name="default">
<resolver ref="local-ivy"/> <resolver ref="local-ivy"/>
<resolver ref="local-maven2"/> <resolver ref="local-maven2"/>
<resolver ref="public"/> <resolver ref="public"/>
<resolver ref="snapshots"/>
</chain> </chain>
</resolvers> </resolvers>


Expand Down

0 comments on commit 041c01b

Please sign in to comment.