Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pull latest from main #11

Merged
merged 4 commits into from
Nov 5, 2015
Merged
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
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>
6 changes: 1 addition & 5 deletions samples/KafkaConsistentRegionConsumerParallel/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,7 @@

.PHONY: all clean

TOOLKIT_NAME=com.ibm.streamsx.messaging
STREAMS_MESSAGING_TOOLKIT ?= $(shell ([ -e ../../$(TOOLKIT_NAME)/toolkit.xml ] && echo ../../$(TOOLKIT_NAME)) ||\
echo $(STREAMS_STUDIO_SPL_PATH) ||\
([ -e "../$(TOOLKIT_NAME)" ] && echo ../$(TOOLKIT_NAME)) ||\
echo $(STREAMS_INSTALL)/toolkits/$(TOOLKIT_NAME))
STREAMS_MESSAGING_TOOLKIT ?= ../../com.ibm.streamsx.messaging:${STREAMS_INSTALL}/toolkits/com.ibm.streamsx.messaging


SPLC_FLAGS ?= -a --data-directory data
Expand Down
6 changes: 1 addition & 5 deletions samples/KafkaConsistentRegionConsumerSimple/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,7 @@

.PHONY: all clean

TOOLKIT_NAME=com.ibm.streamsx.messaging
STREAMS_MESSAGING_TOOLKIT ?= $(shell ([ -e ../../$(TOOLKIT_NAME)/toolkit.xml ] && echo ../../$(TOOLKIT_NAME)) ||\
echo $(STREAMS_STUDIO_SPL_PATH) ||\
([ -e "../$(TOOLKIT_NAME)" ] && echo ../$(TOOLKIT_NAME)) ||\
echo $(STREAMS_INSTALL)/toolkits/$(TOOLKIT_NAME))
STREAMS_MESSAGING_TOOLKIT ?= ../../com.ibm.streamsx.messaging:${STREAMS_INSTALL}/toolkits/com.ibm.streamsx.messaging


SPLC_FLAGS ?= -a --data-directory data
Expand Down
6 changes: 1 addition & 5 deletions samples/KafkaParallelConsumers/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,7 @@

.PHONY: all clean

TOOLKIT_NAME=com.ibm.streamsx.messaging
STREAMS_MESSAGING_TOOLKIT ?= $(shell ([ -e ../../$(TOOLKIT_NAME)/toolkit.xml ] && echo ../../$(TOOLKIT_NAME)) ||\
echo $(STREAMS_STUDIO_SPL_PATH) ||\
([ -e "../$(TOOLKIT_NAME)" ] && echo ../$(TOOLKIT_NAME)) ||\
echo $(STREAMS_INSTALL)/toolkits/$(TOOLKIT_NAME))
STREAMS_MESSAGING_TOOLKIT ?= ../../com.ibm.streamsx.messaging:${STREAMS_INSTALL}/toolkits/com.ibm.streamsx.messaging


SPLC_FLAGS ?= -a --data-directory data
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>