Win a copy of The Journey To Enterprise Agility this week in the Agile and Other Processes forum! And see the welcome thread for 20% off.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

SWIFT Message Format Check Using Java  RSS feed

 
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.
 
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.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!