The class MessageInterceptionAdvice has the following code:
....
Message outputMessage = null;
try {
outputMessage = (Message) mi.proceed();
}...
Type: Posts; User: csanchez; Keyword(s):
The class MessageInterceptionAdvice has the following code:
....
Message outputMessage = null;
try {
outputMessage = (Message) mi.proceed();
}...
Hello, I'm using a custom interceptor and I notice when an exception is throwed the postProcess method is not executed. Is this a bug or is the expected way to work?.
I think that postProcess...
Hello, I'm trying to inject dependencies on domain objects extending AbstractInterfaceDrivenDependencyInjectionAspect like explain in...
Thanks lucasward, but I have some questions.
3. how can I put file names into the ExecutionContext?
Sorry if this is an stupid question but I don't known to do this.
I thought that I had to...
Hi, I'm evaluating Spring Batch and I have some problems to implement my use case.
Use Case: An external system continuously is writing delimited files in a directory, it creates a new file per...
The answer to my question is that the compiler doesn't save parameter names for abstract methods. So I can't use the LocalVariableTable to get the parameter names of methods defined on interfaces.
Hello,
first at all the bug: the cache introduced in version 2.5.1 throw a NullPointerException if paramNames is null (i.e. classes compiled without -g option). This is because the...
Hi, thanks Joerg, I'm going to implement streaming via a callback solution.
dr_pompeii, I guess in this thread: http://forum.springframework.org/showthread.php?t=40499 you have some similar...
Hi, remember that the result of a report is a file, for example a csv file.
So for each request I have to return all the resultset, I mean each time a user ask for a report I have to return a...
Hi, I have an architectural question related to spring mvc and the creation of huge reports.
The application is simple, it's a web application that shows a list of predefined reports (the reports...
Hello, I'm working in a project that show a list of results (also permit add and delete items) of several dynamic searchs. Each search has its own metadata that defined it (where the data is, fields...
Thanks, I've checked version 1.2.9 and sqlwarnings are logged in DEBUG level. But, at this moment, I'm using the version 1.2.4 and in this version sqlwarnings are logged in WARM level. I'll try to...
Hello,
I have the same problem. In other words, I have a query with warnings, but after the warning is logged it isn't clear to the db connection so when the same connection (i.e I have a...
Hi, I'm using JaxRpcPortProxyFactoryBean to access my webservice. The wsdl URL is secured with HTTP BASIC authentication. Now I have a 401 error when spring try to instantiate the webservice.
I try...
Hi Tom, my english is very bad but I'll try to explain you the difference between a FactoryBean and a TargetSource with a ProxyFactoryBean.
The key difference is the moment that the target object is...
Hi, I guess if you use choose the SessionFactory using a TargetSource with a ProxyFactoryBean instead a FactoryBean, you can configure your dao as singletons.
This is the configuration:
<bean...
Yes, i did. In fact reading that threads I could solve this problem in the way that I posted.
But a I guess that I could have a better solution if a I could register beans programmatically (in...
Hi all,
First at all that I want to do is configure spring to use Hibernate and SpringJDBC with several datasources (all of them with the same tables) that dont know until runtime.
I found the...
Hi,
In the project that I'm working we need to create beans in several scopes. I know that in spring 2.0 is possible to handle this situation. Is there any example, article or documentation about...