Hi,
After reading LocalJbpmConfigurationFactoryBean and JbpmTemplate I see that existing Hibernate SessionFactory support is very limited. There are 3 use cases in which this support can be used:...
Type: Posts; User: ENP; Keyword(s):
Hi,
After reading LocalJbpmConfigurationFactoryBean and JbpmTemplate I see that existing Hibernate SessionFactory support is very limited. There are 3 use cases in which this support can be used:...
Hi,
Is it possible to use existing Hibernate SessionFactory already defined in context to call LocalJbpmConfigurationFactoryBean.setCreateSchema? I tried to it and this was unsuccessful. I see...
Hi,
I read in Spring Modules Reference Documentation Chapter 8. jBPM 3.1.x:
Is this means that I can use some spring beans inside context instead of jbpm.cfg.xml? How can I do it? Can...
Hi,
Is it possible to correctly initialize and destroy non-singleton beans with Spring?
I have this context:
<beans>
<bean id="commandBean" class="test.CommandBean" singleton="false"...
Hi,
I need to run simple application with Jetty and DWR in one Spring context. Java code looks like this:
Server server = new Server();
SelectChannelConnector connector = new...
Hi,
I can easy load resource from classpath:
<bean class="org.springframework.beans.factory.config.PropertiesFactoryBean">
<property name="location"...
Hi,
Suppose, I have this context:
<bean name="modemManager" class="devman.modem.ModemManager">
<property name="adapters">
<list>
<bean...
Hi,
I use this context:
<beans>
<!-- PostgreSQL JDBC DataSource configuration -->
<bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
Is it possible to know from one bean is another bean already loaded or not? First bean must to know it becase it's behaviour is different depends on another bean state.
I tried to use InterfaceBasedMBeanInfoAssembler instead of SimpleReflectiveMBeanInfoAssembler, but I see AOP properties/methods too. So, the problem is mangling JMX interface. Is it posible to not...
I resolved this problem by adding addition interfase ITestBean to TestBean and use it for calling execute, but now I have another strange problem. My context now is:
<beans...
I tried to modify context for new 2.0 approcach:
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
...
Hi,
I have this bean:
public class TestBean implements TestBeanMBean {
private Log log = LogFactory.getLog(getClass());
Hi,
Why JmsTemplate.receive() use new JMS Session on every call? It will be more fast to use the same session. Will be any problems in this case?
It will be more useful to use message driven POJO, so I registered bug in http://opensource.atlassian.com/projects/spring/browse/SPR-2461
More convinient workaround is using TransactionTemplate:
context.xml:
<beans>
<bean id="broker" class="org.apache.activemq.broker.BrokerService" init-method="start"...
Hi,
Is it possible to create hibernate session, create some objects and save it with session, having only org.springframework.transaction.jta.JtaTransactionManager and...
My latest code looks like:
context.xml:
<beans>
<bean id="broker" class="org.apache.activemq.broker.BrokerService" init-method="start" destroy-method="stop">
<property...
This problem can be resolved by writing another wrapper instead of org.jencks.pool.PooledSpringXAConnectionFactory or modifing it to support XA connection and XA session in different threads.
Such...
The problem is in Jencks code, which PooledSpringXAConnectionFactory can't work in multithreaded environment. I tried to run this simple context:
<beans>
<bean id="broker"...
JmsTransactionManager works only with JMS transactions, so JDBC/Hibernate transaction can't be rolledback in onMessage method, am I right?
I tried to use this approach with JTA...
I read http://opensource.atlassian.com/confluence/spring/display/COOK/JTA+++JOTM+usage and http://issues.apache.org/activemq/browse/AMQ-303 where can see that PooledSpringXAConnectionFactory has...
Hi,
Is it possible to listen JMS messages with DefaultMessageListenerContainer and JTA Transaction? I tried to run this context:
<beans>
<bean id="broker"...
Hi,
Is it possible to say which bean must be destroyed at the end of spring context destroying procedure (or after some other bean)? I know about depends-on but it seams it works only on startup.
Hi,
I need to read JMS message from one queue, write it to another queue and save it into database in my custom format. I tried to do it with Spring/Jencks/ActiveMQ/PostgreSQL. My context is:
...