Last friday i was struggling with the bijection stuff of jboss seam. Bijection allows you to inject and outject variables to the several contexts jboss seam offers.
What i am trying to do is to create a jbpm process from a message driven bean and 'outject' some variables to the business context. I want to inject these same variables in a action handler when the business process enters a node. But things go wrong here. Actually things go already wrong when creating the jbpm process. I found a bugreport on the jboss bug tracking system that creating a jbpm process within a message driven bean does not work, so i suspect saving these variables to it has also something to do with it.
My code is very simple:
@CreateProcess(definition="inkless")But i get lots of transaction related exeptions here. I found the following jira issue:
public void onMessage(Message m){
//some Message Parsing goes here
}
http://jira.jboss.org/jira/browse/JBSEAM-798 and related forum thread at http://www.jboss.com/index.html?module=bb&op=viewtopic&t=101047
I think my next step will be to check out jboss seam 2.0.0 CR1.
No comments:
Post a Comment