I am using MessageDrivenBean and WebsphereMq as JMS provider.I wil get the messages as string which are in xml format.using TransformerFactory and Transformer i wil convert the string as Xml,after that i wil parse the nodes of these xml and insert the details in databse.For parsing i am using documentbuilder object.
After processing few messages it is throwing ParserConfigurationException and it is happening rarely.Can anyone suggest me what will be the reason and how can i wil overcome this exception.
The below is the code snippet throwing the exception.