Yes - unwrapping it at the gateway proxy would resolve the issue
Thx for the quick response
Type: Posts; User: Stuff It; Keyword(s):
Yes - unwrapping it at the gateway proxy would resolve the issue
Thx for the quick response
Is there a reason why exceptions are wrapped in a MessagingException if they are of type RuntimeException?
I wanted to convert a class to use spring integration but i ended up introducing bugs...
Found the answer:
http://forum.springsource.org/showthread.php?t=18389&highlight=Class.class
Haven't looked at the expression language yet.
Below is another possible soln using the proxy factory mechanism - but does anyone know of a solution out of the box?
class BeanClassFactory...
I want to inject Cow.class, not an instance of type 'Cow'
In the 1st example spring can determine that the value 'com.foo.bar.Cow' should be converted to an object to type 'Class' since the...
How do I inject a class into an object? If the message signature was:
public void setFooBar(Class class)
then spring would resolve it correctly from the following config:
<property...
I would like to specify a bean in configuration and in the afterProperties callback then create new bean definitions using data defined in the original bean config.
What is the best way to achieve...
It is a public method (just not shown above)- I see it being proxied and I have stepped into the spring code using a debugger and seen it create the UserTransaction by the...
Sorry - forget to include the interface it inherits from - but it is there
We are using Sybase 12.5
We are using sybase 12.5 but XA is not enabled at the database level - but this shouldn't make a difference since we are not using distributed transactions and there is only one datasource involved?...
I have spent hours looking through these forums but no one seems to have the answer to my problem.
I am using weblogic jta transaction manager and during a transaction I would like to use a...
Did you find an answer? I am still looking
Did anyone find the solution? We have a similar issues with using a JNDI bound datasource (weblogic) together with JDBCTemplate.
It looks as though the JDBCTemplate is doing the operation on a...
I have a similar issue that I would like to resolve. My non unit test configuration consists of 100+ beans and I would like to override some of these beans with mocks. Is it possible to use both the...
I was wondering if anyone knows weblogic/transactions/threading enough to be able to help us with the following question:
The application uses spring inside weblogic 9.1. The application is in a...
We are using messaging between the GUI and the server. The GUI sends a message to the server to perform an action, in a number of scenarios the response from the action does not have any data with...
How can I send null objects down a channel?
In the following example MyServiceActivator.myMethod returns null. I want this null object to be sent down the 'output' channel and to my...
Thanks I tried it and it worked
Yes the service activator will be invoked asynchronously since somewhere in the message flow would be a task-executor.
I would like to control the error channel based on the message flow.
Your...
My class is defined as follows:
class MyClass
{
@Transactional
public void doFunction(Data data) {
....
}
I have a service activator defined as:
Hi,
I have class defined as follows with the annotation XXX
abstract class YYY
{
@XXX("data");
abstract void doSomething();
}