Skip to content

Commit

Permalink
Updating docs on messageAttribute, Makefile unused name removed.
Browse files Browse the repository at this point in the history
Updated non-kafka samples to work with current version number.
  • Loading branch information
Alex-Cook4 committed Oct 16, 2015
1 parent 4b36080 commit 39958e1
Show file tree
Hide file tree
Showing 10 changed files with 17 additions and 21 deletions.
24 changes: 12 additions & 12 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -121,16 +121,16 @@
</target>

<!-- Targets to build releases -->
<target name="release" depends="clean, all, spldoc, toolkitIndexOnly">
<mkdir dir="${tmp}" />
<property name="releasefilename" value="${tmp}/streamsx.messaging.toolkits-${tkinfo.info:identity.info:version}-${DSTAMP}-${TSTAMP}.tgz" />
<tar compression="gzip" longfile="gnu"
destfile="${releasefilename}"
basedir="${basedir}"
includes="${tkinfo.info:identity.info:name}/** samples/**"
excludes="**/.gitignore **/.settings/** **/.settings **/.project **/.classpath"
/>
<checksum file="${releasefilename}" />
<checksum algorithm="sha1" file="${releasefilename}" />
</target>
<target name="release" depends="clean, all, spldoc, toolkitIndexOnly">
<mkdir dir="${tmp}" />
<property name="releasefilename" value="${tmp}/streamsx.messaging.toolkits-${tkinfo.info:identity.info:version}-${DSTAMP}-${TSTAMP}.tgz" />
<tar compression="gzip" longfile="gnu"
destfile="${releasefilename}"
basedir="${basedir}"
includes="${tkinfo.info:identity.info:name}/** samples/** samples/**/.settings/**"
excludes="**/.gitignore **/.project **/.classpath ${tkinfo.info:identity.info:name}/.settings/**"
/>
<checksum file="${releasefilename}" />
<checksum algorithm="sha1" file="${releasefilename}" />
</target>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ public String getPropertiesFile() {
return propertiesFile;
}

@Parameter(optional = true, description = "Name of the attribute for the message. This attribute is required. Default is \\\"message\\\".")
@Parameter(optional = true, description = "Name of the attribute for the message. If this parameter is not specified, then by default the operator will look for an attribute named \\\"message\\\". If the \\\"message\\\" attribute is not found, messages will not be sent. Default is \\\"message\\\".")
public void setMessageAttribute(String value) {
messageAH.setName(value);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ public class SimpleConsumerClient implements StateHandler {
private int fetchSize;
private String clientName;
protected Properties finalProperties = new Properties();
private String charSet = "UTF-8";
private AttributeHelper topicAH = null, keyAH = null, messageAH = null;
private int leaderConnectionRetries = 3;
private int connectionRetryInterval = 1000;
Expand Down
2 changes: 1 addition & 1 deletion samples/JMSSample/info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ others. All Rights Reserved.
<info:dependencies>
<info:toolkit>
<common:name>com.ibm.streamsx.messaging</common:name>
<common:version>[2.0.0,3.0.0)</common:version>
<common:version>[2.0.0,4.0.0)</common:version>
</info:toolkit>
</info:dependencies>
</info:toolkitInfoModel>
2 changes: 1 addition & 1 deletion samples/JmsWithXmlParse/info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<info:dependencies>
<info:toolkit>
<common:name>com.ibm.streamsx.messaging</common:name>
<common:version>[2.0.0,3.0.0)</common:version>
<common:version>[2.0.0,4.0.0)</common:version>
</info:toolkit>
</info:dependencies>
</info:toolkitInfoModel>
2 changes: 1 addition & 1 deletion samples/JmsWithXmlParseBytes/info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<info:dependencies>
<info:toolkit>
<common:name>com.ibm.streamsx.messaging</common:name>
<common:version>[2.0.0,3.0.0)</common:version>
<common:version>[2.0.0,4.0.0)</common:version>
</info:toolkit>
</info:dependencies>
</info:toolkitInfoModel>
1 change: 0 additions & 1 deletion samples/KafkaConsistentRegionConsumerParallel/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

.PHONY: all clean

TOOLKIT_NAME=com.ibm.streamsx.messaging
STREAMS_MESSAGING_TOOLKIT ?= ../../com.ibm.streamsx.messaging:${STREAMS_INSTALL}/toolkits/com.ibm.streamsx.messaging


Expand Down
1 change: 0 additions & 1 deletion samples/KafkaConsistentRegionConsumerSimple/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

.PHONY: all clean

TOOLKIT_NAME=com.ibm.streamsx.messaging
STREAMS_MESSAGING_TOOLKIT ?= ../../com.ibm.streamsx.messaging:${STREAMS_INSTALL}/toolkits/com.ibm.streamsx.messaging


Expand Down
1 change: 0 additions & 1 deletion samples/KafkaParallelConsumers/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

.PHONY: all clean

TOOLKIT_NAME=com.ibm.streamsx.messaging
STREAMS_MESSAGING_TOOLKIT ?= ../../com.ibm.streamsx.messaging:${STREAMS_INSTALL}/toolkits/com.ibm.streamsx.messaging


Expand Down
2 changes: 1 addition & 1 deletion samples/MqttSample/info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<info:dependencies>
<info:toolkit>
<common:name>com.ibm.streamsx.messaging</common:name>
<common:version>[2.0.0,3.0.0)</common:version>
<common:version>[2.0.0,4.0.0)</common:version>
</info:toolkit>
</info:dependencies>
</info:toolkitInfoModel>

0 comments on commit 39958e1

Please sign in to comment.