Skip to content

Commit efb89ce

Browse files
authored
Merge pull request #362 from IBMStreams/develop
Merge latest changes
2 parents e170413 + 7630112 commit efb89ce

File tree

19 files changed

+47
-20
lines changed

19 files changed

+47
-20
lines changed

README.md

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,19 @@
22

33
The IBMStreams/streamsx.messaging toolkit project is an open source Streams toolkit project focused on the development of operators and functions that extend IBM InfoSphere Streams ability to interact with messaging systems.
44

5+
---
6+
7+
**After release v5.4.2 the complete toolkit is deprecated**. Please, use the following alternatives to communicate with various message queues:
8+
| Message Queue | New Toolkit |
9+
| ------------- | ----------- |
10+
| JMS | [streamsx.jms](https://github.com/IBMStreams/streamsx.jms) |
11+
| Kafka | [streamsx.kafka](https://github.com/IBMStreams/streamsx.kafka) |
12+
| MQTT | [streamsx.mqtt](https://github.com/IBMStreams/streamsx.mqtt) |
13+
| RabbitMQ | [streamsx.rabbitmq](https://github.com/IBMStreams/streamsx.rabbitmq) |
14+
| XMS | no toolkit planned yet |
15+
16+
---
17+
518
Messaging Toolkit v5.1 is offically released to support InfoSphere Streams v4.2:
619
* https://github.com/IBMStreams/streamsx.messaging/releases
720

@@ -29,12 +42,3 @@ To learn more about Streams:
2942
* [Introduction to Streams Quick Start Edition](http://ibmstreams.github.io/streamsx.documentation/docs/4.1/qse-intro/)
3043
* [Streams Getting Started Guide](http://ibmstreams.github.io/streamsx.documentation/docs/4.1/qse-getting-started/)
3144
* [StreamsDev](https://developer.ibm.com/streamsdev/)
32-
33-
34-
**Deprecations**
35-
36-
The support for RabbitMQ, Kafka, and MQTT in this toolkit is deprecated. For these types of messaging systems, use one of the following specialized open source toolkits:
37-
38-
* [streamsx.kafka](https://github.com/IBMStreams/streamsx.kafka)
39-
* [streamsx.rabbitmq](https://github.com/IBMStreams/streamsx.rabbitmq)
40-
* [streamsx.mqtt](https://github.com/IBMStreams/streamsx.mqtt)

com.ibm.streamsx.messaging/com.ibm.streamsx.messaging.jms/JMSSink/JMSSink.xml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@
99
<javaOperatorModel>
1010
<context>
1111
<description docHref="doc/${nl}/spldoc/html/tk$com.ibm.streamsx.messaging/op$com.ibm.streamsx.messaging.jms$JMSSink.html">
12+
**DEPRECATED**: The `com.ibm.streamsx.messaging.jms.JMSSink` operator is deprecated
13+
and is replaced by the `com.ibm.streamsx.jms.JMSSink` operator in the `com.ibm.streamsx.jms` toolkit.
14+
The deprecated operator might be removed in a future release.
15+
16+
1217
The `JMSSink` operator creates messages from InfoSphere Streams tuples
1318
and writes the messages to a WebSphere MQ or an Apache Active MQ queue or topic.
1419

@@ -183,8 +188,8 @@ The following example shows a sample connections.xml file:
183188
&lt;/access_specifications>
184189
&lt;/st:connections>
185190
</description>
186-
<iconUri size="16">JMSSink_16.gif</iconUri>
187-
<iconUri size="32">JMSSink_32.gif</iconUri>
191+
<iconUri size="16">JMSSink_deprecated_16.gif</iconUri>
192+
<iconUri size="32">JMSSink_deprecated_32.gif</iconUri>
188193
<metrics>
189194
<metric>
190195
<name>nTruncatedInserts</name>
587 Bytes
Loading
866 Bytes
Loading

com.ibm.streamsx.messaging/com.ibm.streamsx.messaging.jms/JMSSource/JMSSource.xml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@
1313
<javaOperatorModel>
1414
<context>
1515
<description docHref="doc/${nl}/spldoc/html/tk$com.ibm.streamsx.messaging/op$com.ibm.streamsx.messaging.jms$JMSSource.html">
16+
**DEPRECATED**: The `com.ibm.streamsx.messaging.jms.JMSSource` operator is deprecated
17+
and is replaced by the `com.ibm.streamsx.jms.JMSSource` operator in the `com.ibm.streamsx.jms` toolkit.
18+
The deprecated operator might be removed in a future release.
19+
1620
The `JMSSource` operator reads data from a WebSphere MQ or an Apache Active MQ queue
1721
or a topic and creates tuples from the read data.
1822

@@ -188,8 +192,8 @@ This example shows the use of multiple `JMSSource` operators with different para
188192
}
189193
}
190194
</description>
191-
<iconUri size="16">JMSSource_16.gif</iconUri>
192-
<iconUri size="32">JMSSource_32.gif</iconUri>
195+
<iconUri size="16">JMSSource_deprecated_16.gif</iconUri>
196+
<iconUri size="32">JMSSource_deprecated_32.gif</iconUri>
193197
<metrics>
194198
<metric>
195199
<name>nMessagesRead</name>
595 Bytes
Loading
888 Bytes
Loading

com.ibm.streamsx.messaging/com.ibm.streamsx.messaging.xms/XMSSink/XMSSink.xml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ others. All Rights Reserved.
77
<cppOperatorModel>
88
<context>
99
<description docHref="doc/${nl}/spldoc/html/tk$com.ibm.streamsx.messaging/op$com.ibm.streamsx.messaging.xms$XMSSink.html">
10+
**DEPRECATED**: The `com.ibm.streamsx.messaging.xms.XMSSink` operator is deprecated. There is no toolkit
11+
providing a replacement operator. The deprecated operator might be removed in a future release.
12+
13+
1014
The `XMSSink` operator takes messages from IBM InfoSphere Streams and can send them to a WebSphere MQ queue or topic.
1115

1216
The incoming tuple from InfoSphere Streams can be one or many of the following data types:
@@ -160,8 +164,8 @@ The following is a sample `connections.xml` file:
160164
&lt;/access_specifications>
161165
&lt;/st:connections>
162166
</description>
163-
<iconUri size="16">XMSSink_16.gif</iconUri>
164-
<iconUri size="32">XMSSink_32.gif</iconUri>
167+
<iconUri size="16">XMSSink_deprecated_16.gif</iconUri>
168+
<iconUri size="32">XMSSink_deprecated_32.gif</iconUri>
165169
<metrics>
166170
<metric>
167171
<name>nTruncatedInserts</name>

com.ibm.streamsx.messaging/com.ibm.streamsx.messaging.xms/XMSSink/XMSSink_cpp.cgt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ if($crContext && $crContext->isStartOfRegion()) {
145145
// Constructor
146146
MY_OPERATOR::MY_OPERATOR() : nTruncatedInserts(0),nTruncatedInsertsPC( getContext().getMetrics().getCustomMetricByName("nTruncatedInserts")),nFailedInserts(0),nFailedInsertsPC( getContext().getMetrics().getCustomMetricByName("nFailedInserts")),nConnectionAttempts(0),nConnectionAttemptsPC( getContext().getMetrics().getCustomMetricByName("nConnectionAttempts"))
147147
{
148+
SPLAPPTRC(L_ERROR, "The `com.ibm.streamsx.messaging.xms.XMSSink` operator is deprecated. There is no toolkit providing a replacement operator. The deprecated operator might be removed in a future release.", "XMSSink");
148149
SPLAPPTRC(L_DEBUG, "Entry: Constructor", "XMSSink");
149150

150151
<%if ($isInConsistentRegion) {%>
585 Bytes
Loading

0 commit comments

Comments
 (0)