# Change this property to the location
of the configuration file for the tool # Note that Windows paths must use '/' or '\\' path separators configurationFile=c:\\sibdesthandler\\sib.desthandler.config.xml # Change this property to the directory where log files from the tool should be written # Note that Windows paths must use '/' or '\\' path separators logDirectory=c:\\sibdesthandler\\log # Uncomment and change this property to customise the prefix for log files written by the tool #logPrefix=sib.desthandler # Uncomment and change this property to customise the size of each log file in KB #logFileSize=512 # Uncomment and change this property to customise the number of log files #logFileCount=3 # Uncomment and change this property to customise the timestamp prefix printed on each line of the log # The syntax is described in the Java 2 Platform javadoc for the java.text.SimpleDateFormat class #logDateFormat=[yyyy.MM.dd kk:mm:ss:SSS z] |
Name |
Required? |
Allowed values |
Description |
bus |
Required |
String |
The name of the bus to connect
to. When the tool runs as a web or EJB application in an application server in the same cell as the bus, and the SIB Service enabled on that server, this is the only attribute required. See the SIB service settings topic in the information center for details of how to enable the SIB Service. |
username |
Optional |
String |
The username used to authorize
the tool when bus security is enabled. |
password |
Optional |
String |
The password used to authorize
the tool when bus security is enabled. |
targetTransportChain |
Optional |
String |
The name of a messaging engine
inbound transport that is enabled on the server where the messaging
engine is running. See the Inbound
transport options topic in the information center for more
information. |
providerEndpoints |
Optional |
String |
The provider endpoints to use
when establishing a bootstrap connection from outside the cell to a
server inside the cell with the SIB Service enabled. See the Configuring
a connection to a non-default bootstrap server topic in the
information
center for more information. |
targetType |
Optional |
BusMember / ME / Custom |
These
attributes allow selection (or preference) of an individual messaging
engine or bus member to connect to. This is useful when multiple messaging engines exist in a bus, to allow the tool to connect directly to the messaging engine where messages are located rather than interacting with the queue indirectly via another messaging engine. When the bus member that hosts the destination is a cluster with multiple messaging engines (hence the destination is partitioned across those messaging engines), these properties can be used to choose which queue point to interact with - see example 10. See the Configuring the messaging engine selection process for applications topic of the information center for more information. |
target |
Optional |
String |
|
targetSignificance |
Optional |
Preferred / Required |
|
connectionProximity |
Optional |
Server / Cluster / Host / Bus |
See the Configuring the messaging engine selection process for applications topic of the information center for more information. |
bus |
Required |
String |
The name of the bus to connect
to. |
connectorType |
Required |
RMI / SOAP |
The type of connector to use to
establish the JMX connection. |
connectorHost |
Required |
String |
The hostname or IP address of
the deployment manager, or the application server hosting the messaging
engine. If the connection is made to the deployment manager, messages on all queue and publication points can be read. If the connection is made to an individual server hosting a messaging engine, messages can only be read from queue and publication points located on that messaging engine. |
connectorPort |
Required |
Integer |
The port of the
BOOTSTRAP_ADDRESS of the deployment manager or application server.
Alternatively specify the port of the ORB_LISTENER_ADDRESS for RMI
connections, or the port of the SOAP_CONNECTOR_ADDRESS for SOAP
connections. |
username |
Optional |
String |
The username to authorize the
tool when administrative security is enabled. |
password |
Optional |
String |
The password to authorize the tool when administrative security is enabled. |
maxMsgSize |
Optional |
Integer |
The maximum payload size, in bytes, to download for each message. The default is 10485760 (10MB) |
name |
Required |
String |
The name of the destination. |
continueAfterFailure |
Optional |
true / false |
Whether the tool should continue
processing rules for an individual message after an exception is
encountered in a rule. The default is false. See the Rule tag for details. |
selector |
Optional |
String |
An SQL92 selector string which
is evaluated in the messaging engine before messages are sent to the
tool. It overrides any selection criteria specified within the rules
for this destination tag. This attribute is ignored for JMX connections. |
topicSpace |
Required |
String |
The name of the topic space. |
id |
Required |
String |
The subscriber identifier. JMS
durable subscribers have an identifier made up of the Client ID
configured on the connection factory and the Subscription ID specified
by the application, separated by '##'. For message-driven beans, both
the Client ID and Subscription ID are specified on the activation
specification. A single '*' can be specified at the end of the attribute to match all subscription starting with a particular string. |
continueAfterFailure |
Optional |
true / false |
Whether the tool should continue
processing rules for an individual message after an exception is
encountered in a rule. The default is false. See the Rule tag for details. |
name | Required |
String |
The name of the queue. |
messagingEngine |
Optional |
String |
If specified, only messages on
the remote queue point in the specified messaging engine are read by
the tool. |
name | Required |
String |
The name of the topic space. |
messagingEngine |
Optional |
String |
If specified, only messages on the remote publication point in the specified messaging engine are read by the tool. |
path |
Required |
String |
The path of the folder
containing messages
previously dumped using a RawDumpAction. |
continueAfterFailure |
Optional |
true / false |
Whether the tool should continue
processing rules for an individual message after an exception is
encountered in a rule. The default is false. See the Rule tag for details. |
skipMessages |
Optional | Integer | The number matching messages to skip, before any actions are called. The default is 0 (do not skip any messages). |
maximumMessages |
Optional |
Integer |
The maximum number matching
messages to call actions for. The default is 0 (unlimited). |
name |
Required |
String |
The name of the message property
to apply the comparison to. To review the available message properties for a message, use the DumpMessage action to print a textual representation of the message. Properties will always be compared in the form they are dumped by the tool, including in cases where this is different to the raw form which would be used in an SQL92 selector. |
charSet |
Optional |
String |
The Java character set to use to
construct a text representation of a binary message before performing
the comparison. |
charSet |
Optional |
String |
The Java character set to use to
construct a text representation of a binary message before performing
the comparison. |
matchEmptyString |
Optional |
true / false |
Whether an empty string is
considered a null value. Default is false. |
matchEmptyString |
Optional |
true / false |
Whether an empty string is
considered a non-null value. Default is false. |
matchString |
Required |
String |
The match string to compare to. |
operation |
Required |
contains |
The value contains the match
string |
equals |
The value equals the match
string. |
||
greaterThan |
The value is lexicographically
greater than the match string. |
||
greaterThanOrEqual |
The value is lexicographically greater than the value or equal to the match string. | ||
lessThan |
The value is lexicographically less than the match string. | ||
lessThanOrEqual |
The value is lexicographically less than the value or equal to the match string. | ||
ignoreCase |
Optional |
true / false |
Whether the comparison should be
case insensitive. Default is false. |
regex |
Required |
String |
The regular expression. The syntax is described in the Java 2 Platform javadoc for the java.util.regex.Pattern class. |
matchWhole |
Optional |
true / false |
Whether the whole string must
match the regular expression. Default is false (the regular expression
can be contained at any point in the value). |
ignoreCase |
Optional |
true / false |
Whether the comparison should be
case insensitive. Default is false. |
matchDate |
Required |
String |
The match string to compare to. |
matchDateFormat |
Optional |
String | If the special value epoch is
used, the matchDate attribute is interpreted as a long value containing
the number milliseconds since the epoch. This is the default. If the special value age is used, the matchDate attribute is interpreted as a long value containing an age in milliseconds. The age is calculated as the current time when the rule is run minus the time in the specified property of the message - see example 11. Any other string is used as a date format to interpret the matchDate attribute. The syntax is described in the Java 2 Platform javadoc for the java.text.SimpleDateFormat class. |
valueDateFormat |
Optional |
String |
If the special value epoch is
used, the value is interpreted as a long value containing the number
milliseconds since
the epoch. This is the default. Any other string is used as a date format to interpret the value. The syntax is described in the Java 2 Platform javadoc for the java.text.SimpleDateFormat class. |
operation |
Required |
equals |
The value equals the match date. |
greaterThan |
The value is later than the
match date. |
||
greaterThanOrEqual |
The value is later than or equal to the match date. | ||
lessThan |
The value is earlier than the
match date. |
||
lessThanOrEqual |
The value is earlier than or equal to the match date. |
matchValue |
Required |
Integer |
The match value to compare to. |
operation |
Required |
equals |
The value equals the match value. |
greaterThan |
The value is greater than the
match value. |
||
greaterThanOrEqual |
The value is less than or equal to the match value. | ||
lessThan |
The value is less than the
match value. |
||
lessThanOrEqual |
The value is less than or equal to the match value. |
targetDestination |
Required |
String |
The name of the target
destination. |
targetBus |
Optional |
String |
The target bus name. This is
only required if the bus is defined as a foreign bus in the bus the
tool connects to, using the source connection or the
SIBTargetConnection tag (if specified). |
targetDestination |
Required |
String |
The name |
targetBus |
Optional |
String |
The target bus name. This is only required if the bus is defined as a foreign bus in the bus the tool connects to using the SIBTargetConnection tag. |
destinationType |
Optional |
Queue / TopicSpace |
The type of destination. Default
is Queue. |
topicName |
Optional |
String |
The topic to publish on, when
sending to a topic space. |
=================
com.ibm.ws.sib.mfp.impl.JsJmsObjectMessageImpl ================= Bus: Bus1 Destination: _SYSTEM.Exception.Destination.MyNode.server1-Bus1 MessagingEngine: MyNode.server1-Bus1 SI_Reliability: ExpressNonPersistent SI_TimeToLive: 12345678 RemainingTimeToLive: 12345678 SI_Priority: 0 SI_ReplyPriority: 3 SI_ReplyReliability: ExpressNonPersistent SI_ReplyTimeToLive: 12345678 ReverseRoutingPath: [dest][name]MyReplyQueue[/name][bus]ReplyBus[/bus][/dest] SI_RedeliveredCount: 0 JMSMessageID: ID:8a45a71e4bef98171c1ead86110a134f0000000000000005 JMSDestination: queue://Q1?busName=Bus1&readAhead=AlwaysOn&priority=5 JMSReplyTo: queue://MyReplyQueue?busName=ReplyBus&deliveryMode=NonPersistent&readAhead=AlwaysOn&timeToLive=12345678&priority=3 JMSDeliveryMode: 1 (NON_PERSISTENT) JMSTimestamp: 1227010566312 (18 November 2008 12:16:06 GMT) JMSExpiration: 1227022911990 JMSRedelivered: false JMSPriority: 0 JMSXUserID: JMSXAppID: Service Integration Bus JMS_IBM_System_MessageID: D36A04A3DF0580E7_40500905 JMS_IBM_ExceptionMessage: CWSIK0035E: A message cannot be delivered to destination Q1 on messaging engine MyNode.server1-Bus1 because it has rolled back more times than its redelivery threshold. JMS_IBM_ExceptionReason: 35 JMS_IBM_ExceptionTimestamp: 1227010566375 (18 November 2008 12:16:06 GMT) JMS_IBM_ExceptionProblemDestination: Q1 JMS_IBM_MsgType: 1 JMS_IBM_Report_PAN: 0 JMS_IBM_Report_NAN: 0 JMS_IBM_Report_Pass_Msg_ID: 0 JMS_IBM_Report_Pass_Correl_ID: 0 JMS_IBM_Report_Discard_Msg: 0 ------------------------ Body: Object Message (124Bytes) ------------------------- object.toString(): "TestBucket$MySimpleClass@363b5371[My string value/12345/9223372036854775807]" Serialized object bytes: 0x0000 aced0005 73720018 54657374 4275636b |....sr..TestBuck| 0x0010 6574244d 7953696d 706c6543 6c617373 |et$MySimpleClass| 0x0020 acc76515 8d2820ec 02000349 00056d79 |..e..( ....I..my| 0x0030 496e744a 00066d79 4c6f6e67 4c00086d |IntJ..myLongL..m| 0x0040 79537472 696e6774 00124c6a 6176612f |yStringt..Ljava/| 0x0050 6c616e67 2f537472 696e673b 78700000 |lang/String;xp..| 0x0060 30397fff ffffffff ffff7400 0f4d7920 |09........t..My | 0x0070 73747269 6e672076 616c7565 |string value | |
===============
com.ibm.websphere.sib.admin.SIBQueuedMessageDetail =============== Bus: Bus1 Destination: _SYSTEM.Exception.Destination.MyNode.server1-Bus1 MessagingEngine: MyNode.server1-Bus1 AdminId: 81001402 State: UNLOCKED SI_Reliability: ExpressNonPersistent SI_TimeToLive: 12345678 SI_Priority: 0 SI_ReplyPriority: 3 SI_ReplyReliability: ExpressNonPersistent SI_ReplyTimeToLive: 12345678 ApproximateLength: 514 MessageWaitTime: 0 MEArrivalTimestamp: 1227010568640 (18 November 2008 12:16:08 GMT) SI_RedeliveredCount: 0 SI_UserID: SI_Format: JMS:object JMSMessageID: ID:153b9322797476af1f64ae8b110a134f0000000000000005 JMSDestination: queue://Q1?busName=Bus1&readAhead=AlwaysOn&priority=5 JMSReplyTo: queue://MyReplyQueue?busName=ReplyBus&readAhead=AlwaysOn&deliveryMode=NonPersistent&timeToLive=12345678&priority=3 JMSDeliveryMode: 1 (NON_PERSISTENT) JMSTimestamp: 1227010568594 (18 November 2008 12:16:08 GMT) JMSExpiration: 1227022914272 (18 November 2008 15:41:54 GMT) JMSRedelivered: false JMSPriority: 0 JMSXDeliveryCount: 1 JMSXUserID: JMSXAppID: Service Integration Bus JMS_IBM_System_MessageID: D36A04A3DF0580E7_40500911 ------------------------ Body: Object Message (124Bytes) ------------------------- object.toString(): "TestBucket$MySimpleClass@6b715373[My string value/12345/9223372036854775807]" Serialized object bytes: 0x0000 aced0005 73720018 54657374 4275636b |....sr..TestBuck| 0x0010 6574244d 7953696d 706c6543 6c617373 |et$MySimpleClass| 0x0020 acc76515 8d2820ec 02000349 00056d79 |..e..( ....I..my| 0x0030 496e744a 00066d79 4c6f6e67 4c00086d |IntJ..myLongL..m| 0x0040 79537472 696e6774 00124c6a 6176612f |yStringt..Ljava/| 0x0050 6c616e67 2f537472 696e673b 78700000 |lang/String;xp..| 0x0060 30397fff ffffffff ffff7400 0f4d7920 |09........t..My | 0x0070 73747269 6e672076 616c7565 |string value | |
maximumMessages |
Optional |
Integer |
The maximum number of messages
to print. The default is 0 (unlimited). Message limiting is also available on all actions within a rule, using properties on the rule tag. |
dumpBody |
Optional |
true / false |
Whether to output the body of
the message. The default is true. |
dumpProperties |
Optional |
true / false |
Whether to output the message
headers and properties. The default is true. |
deserializeObjects |
Optional |
true / false |
Whether to attempt to
de-serialize objects in JMS ObjectMessage messages, in order to call
Object.toString(). Default is true. |
maximumLength |
Optional |
Integer |
Limit the amount of body data
output for each message. For stream and map messages this limit may be exceeded if individual items in the stream/map are long. For object messages no limit is placed on the toString output. For hex dumps of bodies the limit is placed on the number of bytes, not the number of characters produced by the hex dump. For character dumps of bodies the limit is placed on the number of characters. The default is 0 (unlimited). |
path |
Required |
String |
The path in which the output
files should be created. |
dumpProperties |
Optional |
true / false |
Whether to create .props.xml file for each
message, containing an XML representation of the message properties.
The default is true. |
name |
Required | String |
The name of the message property
to set. |
value |
Required |
String |
The value to set. An empty value
results in the property being set to null. Existing message properties can be inserted into the value using '%' characters around the name. |
name |
Required | String |
The name of the message property
to set. |
Date: Tue, 23 Sep 2008 18:04:38 +0100 From: NOREPLY@mydomain.com Sender: NOREPLY@mydomain.com Reply-To: NOREPLY@mydomain.com To: user1@mydomain.com Subject: Messages found on queue MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit ID:ddbef8712a23487be470655f110a134f0000000000000004 (CorrelId null) sent at 1222189381250 (23 September 2008 17:03:01 GMT) ID:ddbef8712a23487be470655f110a134f0000000000000002 (CorrelId null) sent at 1222189381234 (23 September 2008 17:03:01 GMT) ID:ddbef8712a23487be470655f110a134f0000000000000003 (CorrelId null) sent at 1222189381234 (23 September 2008 17:03:01 GMT) ID:ddbef8712a23487be470655f110a134f0000000000000001 (CorrelId null) sent at 1222189381218 (23 September 2008 17:03:01 GMT) ID:ddbef8712a23487be470655f110a134f0000000000000005 (CorrelId null) sent at 1222189381265 (23 September 2008 17:03:01 GMT) 5 messages matched rule (output suppressed for 0 messages) |
mailSession |
Required | String |
The JNDI name of a JavaMail
session that has been configured in WebSphere Application Server. |
address |
Required |
String |
A comma or semi-colon separated
list of e-mail addresses to send the e-mail to. |
from |
Required |
String |
The address to place in the
sender and reply-to fields of the e-mail. |
subject |
Required |
String |
The subject for the e-mail. |
maxMsgsPerMail |
Required |
Integer |
The maximum number of messages
for which the body of the tag should be appended to the e-mail. A summary line is included at the bottom of the e-mail to show the total number of messages which matched the rule. |
<?xml version="1.0"
encoding="UTF-8"?> <SIBDestHandler> <!-- See SIBConnection section for other connection attributes required in a client environment (or when running in a server without the SIB Service enabled) --> <SIBConnection bus="SOURCE_BUS"> <Queue name="SOURCE_DESTINATION"> <Rule> <MatchAnyMessage/> <DumpAction/> </Rule> </Queue> </SIBConnection> </SIBDestHandler> |
<?xml version="1.0"
encoding="UTF-8"?> <SIBDestHandler> <!-- See JMXConnection section for other connection attributes --> <JMXConnection bus="SOURCE_BUS" connectorType="RMI" connectorHost="dmgr.mydomain.com" connectorPort="9809"> <Queue name="SOURCE_DESTINATION"> <Rule> <MatchAnyMessage/> <DumpAction/> </Rule> </Queue> </JMXConnection> </SIBDestHandler> |
<?xml version="1.0"
encoding="UTF-8"?> <SIBDestHandler> <!-- See JMXConnection section for other connection attributes --> <JMXConnection bus="SOURCE_BUS" connectorType="RMI" connectorHost="dmgr.mydomain.com" connectorPort="9809"> <Subscription topicSpace="Default.Topic.Space" id="*"> <!-- To browse an individual subscription use id="clientID##subName" --> <Rule> <MatchAnyMessage/> <DumpAction/> </Rule> </Subscription> </JMXConnection> </SIBDestHandler> |
<?xml version="1.0"
encoding="UTF-8"?> <SIBDestHandler> <!-- See SIBConnection section for other connection attributes required in a client environment (or when running in a server without the SIB Service enabled) --> <SIBConnection bus="SOURCE_BUS"> <Queue name="SOURCE_DESTINATION"> <Rule> <MatchMessageProperty name="color"> <StringCompare operation="equals" matchString="red"/> </MatchMessageProperty> <DumpAction maximumMessages="10" /> </Rule> </Queue> </SIBConnection> </SIBDestHandler> |
<?xml version="1.0"
encoding="UTF-8"?> <SIBDestHandler> <!-- See SIBConnection section for other connection attributes required in a client environment (or when running in a server without the SIB Service enabled) --> <SIBConnection bus="SOURCE_BUS"> <Queue name="EXCEPTION_DESTINATION"> <Rule> <MatchAnyMessage /> <ResubmitAction/> </Rule> </Queue> </SIBConnection> </SIBDestHandler> |
<?xml version="1.0"
encoding="UTF-8"?> <SIBDestHandler> <!-- See SIBConnection section for other connection attributes required in a client environment (or when running in a server without the SIB Service enabled) --> <SIBConnection bus="SOURCE_BUS"> <Queue name="SOURCE_DESTINATION" selector="SI_SystemMessageID in ('D36A04A3DF0580E7_32501597')"> <Rule> <MatchAnyMessage/> <SetPropertyAction name="OriginalSystemMessageID" value="%SI_SystemMessageID"/> <MoveAction targetDestination="TARGET_DESTINATION"/> </Rule> </Queue> </SIBConnection> </SIBDestHandler> |
<?xml version="1.0"
encoding="UTF-8"?> <SIBDestHandler> <!-- See SIBConnection section for other connection attributes required in a client environment (or when running in a server without the SIB Service enabled) --> <SIBConnection bus="SOURCE_BUS"> <Queue name="SOURCE_DESTINATION"> <Rule> <MatchAnyMessage/> <RawDumpAction path="c:\my\output\path"/> </Rule> </Queue> </SIBConnection> </SIBDestHandler> |
<?xml version="1.0"
encoding="UTF-8"?> <SIBDestHandler> <FileSystem> <Folder path="c:\my\output\path"> <Rule> <MatchAnyMessage/> <CopyAction targetDestination="TARGET_DESTINATION"> <!-- See SIBConnection section for other connection attributes (that can be added to a CopyAction tag) and are required in a client environment. --> <SIBTargetConnection bus="TARGET_BUS" /> </CopyAction> </Rule> </Folder> </FileSystem> </SIBDestHandler> |
<?xml version="1.0"
encoding="UTF-8"?> <SIBDestHandler> <!-- See SIBConnection section for other connection attributes --> <SIBConnection bus="SOURCE_BUS"> <Queue name="SOURCE_QUEUE"> <Rule> <And> <!-- The correlation id is not null --> <MatchMessageProperty name="JMSCorrelationID"> <ValueNotNull /> </MatchMessageProperty> <!-- ... and the exception reason is null --> <MatchMessageProperty name="JMS_IBM_ExceptionReason"> <ValueIsNull /> </MatchMessageProperty> <!-- ... and the format contains 'object' (case insensitive) --> <MatchMessageProperty name="SI_Format"> <StringCompare operation="contains" matchString="object" ignoreCase="true" /> </MatchMessageProperty> <!-- and either ... --> <Or> <!-- The user property 'orderid' starts with a, b, c, A, B or C --> <MatchMessageProperty name="orderid"> <RegexCompare regex="[abc].*" ignoreCase="true"/> </MatchMessageProperty> <!-- ... or the user property 'productcode' ends with a number --> <MatchMessageProperty name="productcode"> <RegexCompare regex=".*\d" /> </MatchMessageProperty> </Or> </And> <!-- Then print out the headers of the message, and up to 100bytes of the body --> <DumpAction maximumLength="100"/> </Rule> </Queue> </SIBConnection> </SIBDestHandler> |
<?xml version="1.0"
encoding="UTF-8"?> <SIBDestHandler> <!-- See SIBConnection section for other connection attributes. Note that we are connecting to an individual messaging engine in the cluster. --> <SIBConnection bus="MYBUS" targetType="ME" target="MyCluster.000-MYBUS" targetSignificance="Required"> <Queue name="MYQUEUE"> <Rule> <MatchAnyMessage /> <MoveAction targetDestination="MYQUEUE"> <!-- Specify a target connection to point at another messaging engine in the cluster --> <SIBTargetConnection bus="MYBUS" targetType="ME" target="MyCluster.001-MYBUS" targetSignificance="Required" /> </MoveAction> </Rule> </Queue> </SIBConnection> </SIBDestHandler> |
<?xml version="1.0"
encoding="UTF-8"?> <SIBDestHandler> <!-- See SIBConnection section for other connection attributes required in a client environment (or when running in a server without the SIB Service enabled) --> <SIBConnection bus="SOURCE_BUS"> <Queue name="EXCEPTION_DESTINATION" continueAfterFailure="true"> <!-- Continue to next rule if we fail --> <!-- Rule 1 to move messages that appear will never work --> <Rule> <Or> <!-- If there is no exception problem destination set --> <MatchMessageProperty name="JMS_IBM_ExceptionProblemDestination"> <ValueIsNull /> </MatchMessageProperty> <!-- Or we have reached the maximum number of resubmits for a message which could not be processed (CWSIK0035E). --> <And> <MatchMessageProperty name="ResubmitCount"> <DecimalCompare operation="greaterThanOrEqual" matchValue="5" /> </MatchMessageProperty> <MatchMessageProperty name="JMS_IBM_ExceptionReason"> <DecimalCompare operation="equals" matchValue="35" /> </MatchMessageProperty> </And> </Or> <!-- Move the message to a permanent failure queue --> <MoveAction targetDestination="PERMANENT_FAILURE_QUEUE" /> <!-- Send an e-mail to an administrator, as these messages need manual intervention (list all messages that are moved in e-mail). As this action is after the move action, it will only occur if the move is successful, and a failure to send the e-mail would not stop the move from completing. --> <EmailAction mailSession="mail/MyMailSession" address="user@mydomain.com" from="NOREPLY@mydomain.com" subject="Messages moved to permanent failure queue" maxMsgsPerMail="0" >%JMSMessageID% (CorrelId %JMSCorrelationID%) sent at %JMSTimestamp%</EmailAction> </Rule> <!-- Rule 2 resubmit messages in case a temporary system outage has been resolved --> <Rule> <!-- This rule is for messages which failed because they met the max redelivery threshold of the queue (CWSIK0035E). --> <MatchMessageProperty name="JMS_IBM_ExceptionReason"> <DecimalCompare operation="equals" matchValue="35" /> </MatchMessageProperty> <!-- Increment a property to keep track of the number of resubmits --> <IncrementPropertyAction name="ResubmitCount"/> <!-- Print a line for this message in the log --> <PrintAction>ResubmitCount=%ResubmitCount% for message %SI_SystemMessageID%. Arrival timestamp: %MEArrivalTimestamp%</PrintAction> <!-- Try and re-submit the message. Note that if Rule 1 had already removed the message from the queue, this action would not occur, as the tool knows the message is no longer available. --> <ResubmitAction /> </Rule> </Queue> </SIBConnection> </SIBDestHandler> |
Exception in thread "main" java.lang.NoClassDefFoundError:
com/ibm/websphere/management/exception/ConnectorException
at
com.ibm.ws.sib.desthandler.SIBDestHandler.init(SIBDestHandler.java:178)
at
com.ibm.ws.sib.desthandler.SIBDestHandler.init(SIBDestHandler.java:75)
at
com.ibm.ws.sib.desthandler.SIBDestHandler.init(SIBDestHandler.java:67)
at
com.ibm.ws.sib.desthandler.SIBDestHandlerCmdLine.main(SIBDestHandlerCmdLine.java:65)
This is because JMXConnection tags cannot be used in a J2SE environment.[03/10/08 10:33:21:437 BST] 0000000a E UOW=null
source=com.ibm.ws.sib.utils.ras.SibMessage org=IBM prod=WebSphere
component=Application Server thread=[P=399154:O=0:CT] [:] CWSIJ0032E:
An internal error occurred. An object of class
com.ibm.ws.buffermgmt.impl.WsByteBufferPoolManagerImpl cannot be
created because of exception: javax.naming.ServiceUnavailableException:
A communication failure occurred while attempting to obtain an initial
context with the provider URL: "corbaloc:iiop:hostname:2809". Make sure
that any bootstrap address information in the URL is correct and that
the target name server is running. A bootstrap address with no port
specification defaults to port 2809. Possible causes other than an
incorrect bootstrap address or unavailable name server include the
network environment and workstation network configuration.
ERROR for connection
[SIBConnection[connProps={providerEndpoints=hostname:7276:BootstrapBasicMessaging,
targetTransportChain=InboundBasicMessaging,busName=bus1},username=]]:
com.ibm.ws.sib.desthandler.SIBDestHandlerException: Failed to create
connection
([connProps={providerEndpoints=hostname:7276:BootstrapBasicMessaging,
targetTransportChain=InboundBasicMessaging, busName=bus1},username=])
at
com.ibm.ws.sib.desthandler.impl.CoreSPIConnection.establishConnection
(CoreSPIConnection.java:80)