Sorry to nag Oleg, but did you find anything in your investigations? Is there a workaround?
Cheers,
Alph
Type: Posts; User: alpheratz; Keyword(s):
Sorry to nag Oleg, but did you find anything in your investigations? Is there a workaround?
Cheers,
Alph
I am building a very simple spike for http:outbound-gateway.
My app is configured as follows:
<si:gateway id="httpGateway" service-interface="bob.Gateway"...
Looking for advice on the best way to tackle the following...
Need a process to:
+ poll a database table for the arrival of a new record
+ transform the record to the XML appropriate for a...
It's proabably also worth looking at @Required.
BOB
The error message says: 'Bean property 'writer' is not writable...'
YOu have declared writer to be private:
private FlatFileItemWriter<Business> writer
It can't be set by the context.
...
Sure.
I wrote a 'how-to' article for GroovyMag (http://www.groovymag.com) a while back.
It's all at:
...
Thanks for the prompt reply, Lucas.
I saw writeCount, etc. in the doco. and I have just put 2 + 2 together.
I can do:
jobExcution.getStepExecutions() and look at the individual statistics:
...
My batch has a job with multiple steps...the 'important' step in the middle (the one that does the 'real' work, so to speak) reads a record, and writes it to either a 'good' XML file or a 'bad' csv...
Registering the writer as a stream for the chunk worked.
<bean id= "passthroughLineAggregator" class="fm.PassThroughLineAggregator" />
<bean id="errorItemWriter"
...
I have a SkipListener set up and I inject an itemWriter into it. When I use the itemWriter, I get:
org.springframework.batch.item.WriterNotOpenException: Writer must be open before it can be...
Ah.
Any workaround come to mind (other than what I have done)?
Is there anything that I could do to help you confirm what is going on?
Cheers,
Alph
No. The interface is purely configured via XML, as shown in my first post.
My understanding is that @Gateway is optional(?)
I'll try to add @Gateway and see if any change.
Cheers,
Alph
Thanks for taking the time to get back to me!
I wasn't worried about being ignored...I realise (and appreciate) that you guys are out there working hard...
I WAS worried about having done...
Ping!
Nobody seen this behaviour before? It is quite reproduceable...
Alph
This is with Spring Integration 1.0.2
Grails 1.1/Groovy 1.6.1
Active MQ 5.2
Java 1.6.0_12
Vista SP1
If I use SimpleMessagingGateway as follows:
def send = {
def msg = params.content
flash.message = jmsGateway.sendAndReceive(msg)
}
I also get an error:
I am trying to wire up a gateway.
I have the following working:
jmsGateway(org.springframework.integration.gateway.SimpleMessagingGateway) {
requestChannel = ref("routerChannel")
...
...on this little conversation I am having with myself...
Going back to:
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossMBeansInJConsole
it appears that it is necessary to actually supply all...
if one then adds the property -Xmanagement, one gets:
[JRockit] Local management server started.
19:19:42,953 INFO [Server] Starting JBoss (MX MicroKernel)...
19:19:42,953 INFO [Server]...
Dug around, found:
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossMBeansInJConsole
The key is to use the -Djboss.platform.mbeanserver, then it is possible to do:
<bean id="mbeanServer"...
Up-to-date stack
+ Spring 2.5.1
+ JBoss 4.2.2GA
+ jrockit-R27.4.0-jdk1.5.0_12
With the appended configuration, I am finding that my JMX-aware 'addressOrIPFilter' instance is being advertised...
Good to know that 0.9 is in the offing!
- which modules do you personally use or know of in use
valang, XT, declarative cache
- which Spring platform you use (2.0, 2.5 etc.)
latest 2.5,...
Time seems to have moved on...any thoughts as to when a new release will be now?
Cheers,
Alph
Question: has anyone seen the following before?
[This is with Clustered JBoss 4.2.1GA. and Spring 2.1M4]
14:36:08,158 ERROR
[org.jboss.web.tomcat.service.session.JBossCacheService]...
I agree...
I have just completed rolling out into production a system that uses VALANG and I saw no memory leaks, performance 'gotchas' etc. when I did performance testing.
This makes me feel...