Correlation for ELS
Hi all,
i'm in the process of making a fairly generic ELS functionality with by using eInsight Correlation.
Have one inbound Queue that is being picked up by a JMS Receive, initialized the CorrelationSet, etcetera. Then goes on to a while loop which contains an Event Based Decision with a JMS Receive on one branch and a Time out on the other branche.
Although the runtime errors appear to occur at random, in order to not get runtime errors i have to specify a receiveWait for this one, but then the process blocks. If i use a receive then i get the exception below.
For using receiveWait i do have to specify a different PortType, ns0:JMSQueue instead of ns0:JMSMessageListener.
[#|2007-02-08T22:26:03.328+0000|INFO|IS5.1.2|javax.enterprise.system.container. ejb|_ThreadID=32; ThreadName=JMS Async S167; Context=prjPPlay_u002F_prjELSdpELS/qHTTPReply_cmELS_bpELS1_ejb;stacktrace-id=4; |
javax.ejb.TransactionRolledbackLocalException: Exception thrown from bean; nested exception is: java.lang.NullPointerException
java.lang.NullPointerException
at com.stc.codegen.eInsightImpl.runtime.ejb.BPELService.handleRequestWithCorrelate dInstance(BPELService.java:596)
at com.stc.codegen.eInsightImpl.runtime.ejb.BPELService.handleRequest(BPELService. java:340)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Just to verify, is it possible to use eInsight Correlation with receiving messages from the same Queue ? All samples i've seen separate the Queue for the first JMS Receive and the second JMS Receive.
Tried that too, but cause some other trouble which wasn't worth pursuing.
Any input is welcome.
Take care and Ciao
Paul

