Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SWIFT Message Format Check Using Java

 
saptadip sarkar
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Members

I work in Solaris Platform & have recently started learning JAVA. I want to write a script that will check the incoming message(WebSphere MQ) format with a standard SWIFT message format template.

Can you help me by giving some ideas how I can implement this by using Java. Using "Reqular Expressions" in Shell-Scripting I can achieve this; however wanted to do it in JAVA.
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Regular expressions in Java?
 
saptadip sarkar
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No no..by Regular Expressions I meant "Shell-Scripting" in UNIX(Solaris).
What I want to know is how I can do the format checking by using JAVA only, not Regular-Expressions.
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not knowing anything about the message format, there's no good way to answer. Maybe there's already a Java library for SWIFT, like here.

What *I'm* saying is why wouldn't you just use regular expressions in Java, especially if you've already written the regexes?
 
saptadip sarkar
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you David for your valuable suggestions. I will work on them.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic