Within a workflow processing 1000's of messages sent to a queue channel and consumed by service activator what are the parallelization options available ?
channel a -> service activator a ->...
Type: Posts; User: anshumania; Keyword(s):
Within a workflow processing 1000's of messages sent to a queue channel and consumed by service activator what are the parallelization options available ?
channel a -> service activator a ->...
Have a look here and see if it helps you Spring-Batch-Admin-overriding-PropertyPlaceholderConfigurer
If it is the same then you do not need to override. The idea is that you would want to...
not reproducible ?
what is the error you are getting ? make sure ur datasource is loaded.
You have to override as per the docs + u will need to append the prefix for your database in the configuration, if any.
maybe this with the mock objects will reproduce it for you.
spring integration 2.0.3,2.0.4
spring 3.0.5.RELEASE
java jdk1.6.0_25
<util:map id="jdbcoutput"...
The bug is that while using the above configurations spel expression of payload.tracking_uuid fails to evaluate. This is because the org.springframework.context.expression.MapAccessor is retrieved as...
well you do need to specify the url of ur db in the datasource configuration
<bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource">
<property name="driverClassName"...
were you able to reproduce this ? Is it a bug or a configuration error ?
Just to mention i managed to bypass the error by using my own transformer bean and then it worked.
But the reproduced example is below :
Did i configure something wrong ?
adding to the...
will try.
spring integration 2.0.3,2.0.4
spring 3.0.5.RELEASE
java jdk1.6.0_25
1. my typo
2. i was under the impression that specifying the expression would find the appropriate method to invoke, as in if given a payload the appropriate method with the payload as the argument...
We have a workflow as follows
jdbc-inbound -> splitter ->
filter (expression) -> header enricher1 -> transformer1->
header router -> serviceactivator1 -> router -> header enricher3...
Our Integration services have a few setters and getters for various other services. I wish to use spel expressions to invoke only one (always one) of the actual method in any of the integration...
https://jira.springsource.org/browse/INT-1957
thanks
I was essentially creating wrappers around actual services i wanted to invoke to achieve pretty much the same thing.
If i understand your approach, I could use my wrappers to implement this...
no. even if i create just a new config file and just place the above code , sts complains with the following.
<int-jdbc:inbound-channel-adapter channel="tablePoller"
query="select *...
After reading the a little more carefully.
I changed my channels from direct to queue channels. and it works as my requirement was quite different from what was obviously stated in the documentation...
from the xsd
<int:poller fixed-rate="10000" error-channel="errorChannel" id="somePoller">
<int:transactional transaction-manager="transactionManager" />
</int:poller>
Hi
I have attached a sample project (maven) explaining my problem. it also has the script for postgres.
The config file is as described below
The poller polls rTable and updates a column.
After...
coming to the original problem and your suggestion i tried ; my poller does work as requested.
The service activators are Services which do some business logic and update the state of a table...
This somehow worked. I will go back to addressing the original problem.
There is a problem with the update statement but the poller does not generate any errormessage. But i had this working yesteday, the only difference is i have created a fresh development environment....
i was trying at my end with different configurations.
but the poller just stopped working even in a standalone scenario.
but this has nothing to do with transactions for now though i would guess....
Thanks,
i tried this config
<int-jdbc:inbound-channel-adapter channel="tablePoller"
query="select * from table1 where column1 = 'value1' and column2 = 'value2' "...
We are using Spring Batch admin and came across different kind of issues trying to override the PropertyPlaceholderConfigurerin env-context in spring-batch-admin-manager
<!-- Use this to set...