|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Message set creation for CSV file format |
« View previous topic :: View next topic » |
Author |
Message
|
schagan |
Posted: Sun Oct 10, 2010 11:08 pm Post subject: Message set creation for CSV file format |
|
|
Newbie
Joined: 28 Sep 2010 Posts: 6
|
Hi,
I have a requirement to create a message set for a CSV file format. I have created the same but when deploying the mset and the corresponding flow onto the EG, i get the excpetion
BIP0800E java.util.regex.PatternSyntaxException
Illegal repeatition near index 29.
\$MQSI[\s_]?[\s_]*(Message Set {CD-RB}
({jda_ei_mset1}).......
I am unable to atleast figure what the error is all about. Please help me.
-Thanks!! |
|
Back to top |
|
 |
schagan |
Posted: Sun Oct 10, 2010 11:31 pm Post subject: |
|
|
Newbie
Joined: 28 Sep 2010 Posts: 6
|
I have created a XML schema of the incoming file format and used the xml schema to generate the message set. And also when i try to create a message set this way csv.mxsd is atomatically added to the MSP project. Please explain what this is about as this is the first time I am creating a message set for CSV type.
Thanks a lot |
|
Back to top |
|
 |
mqjeff |
Posted: Sun Oct 10, 2010 11:46 pm Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
You should be starting from the CSV sample message set, not from anything else.
An XSD will only allow you to parse an XML document, not a CSV document, regardless of whether or not you use it as a starting point for a Message Definition.
Please get training on Broker. You appear to be missing some fundamentals. |
|
Back to top |
|
 |
kimbert |
Posted: Tue Oct 12, 2010 1:04 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
Quote: |
And also when i try to create a message set this way csv.mxsd is atomatically added to the MSP project. Please explain what this is about |
From memory, csv.mxsd contains a skeleton csv message model. If you have imported some xsds, you are tackling the task from the opposite direction, so you may as well delete it.
Quote: |
Illegal repeatition near index 29.
\$MQSI[\s_]?[\s_]*(Message Set {CD-RB} |
Not sure - is this your own regular expression, or one that was generated for you in csv.mxsd?
You could try adding a backslash before the dash, like this:
Code: |
\$MQSI[\s_]?[\s_]*(Message Set {CD\-RB} |
|
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|