Is it possible to begin or end a long-running conversation manually?
MenuManager.java
| if (tableModel != null) {
| tableModel.end();
| }
| tableModel = (TableModel) Component.getInstance(beanName);
| tableModel.begin();
|
TableModel.java
@Name("tableModel")
| @Conversational
| @Scope(ScopeType.CONVERSATION)
| public class TableModelBean {
| @Begin
| public void begin() {
| }
| @End
| @Destroy
| public void end() {
| }
| }
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4073182#4073182
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4073182
I'm getting closer to answering my own question. Section 6.2 of the JBoss AS docs explain how to reference objects from your RAR files and bind them into JNDI. I was able to expose my javax.jms.ConnectionFactory with a ds.xml file:
| <connection-factories>
| <no-tx-connection-factory>
| <jndi-name>MyConnectionFactory</jndi-name>
| <rar-name>imqjmsra.rar</rar-name>
| <connection-definition>
| javax.jms.ConnectionFactory
| </connection-definition>
| </no-tx-connection-factory>
| </connection-factories>
|
I'm still looking for instructions on how to expose existing topics and queues through JNDI.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4073172#4073172
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4073172