Search:

Type: Posts; User: Stuff It; Keyword(s):

Search: Search took 0.02 seconds.

  1. Yes - unwrapping it at the gateway proxy would...

    Yes - unwrapping it at the gateway proxy would resolve the issue

    Thx for the quick response
  2. Is there a reason why exceptions are wrapped in a...

    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...
  3. Replies
    5
    Views
    1,538

    Found the answer: ...

    Found the answer:

    http://forum.springsource.org/showthread.php?t=18389&highlight=Class.class
  4. Replies
    5
    Views
    1,538

    Haven't looked at the expression language yet. ...

    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...
  5. Replies
    5
    Views
    1,538

    I want to inject Cow.class, not an instance of...

    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...
  6. Replies
    5
    Views
    1,538

    Injecting objects of type class

    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...
  7. Replies
    0
    Views
    448

    Bean Definitions

    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...
  8. Replies
    6
    Views
    2,962

    It is a public method (just not shown above)- I...

    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...
  9. Replies
    6
    Views
    2,962

    Sorry - forget to include the interface it...

    Sorry - forget to include the interface it inherits from - but it is there

    We are using Sybase 12.5
  10. Replies
    6
    Views
    2,962

    We are using sybase 12.5 but XA is not enabled at...

    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?...
  11. Replies
    6
    Views
    2,962

    JTA Transaction Manager and JDBCTemplate

    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...
  12. Replies
    3
    Views
    1,482

    Did you find an answer? I am still looking

    Did you find an answer? I am still looking
  13. Did anyone find the solution? We have a similar...

    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...
  14. Replies
    23
    Views
    46,452

    override spring config with unit test config?

    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...
  15. jta transaction manager, spring transaction annotations and threads

    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...
  16. Replies
    3
    Views
    777

    We are using messaging between the GUI and the...

    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...
  17. Replies
    3
    Views
    777

    null objects in channels

    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...
  18. Replies
    15
    Views
    5,965

    Thanks I tried it and it worked

    Thanks I tried it and it worked
  19. Replies
    15
    Views
    5,965

    Yes the service activator will be invoked...

    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...
  20. Replies
    15
    Views
    5,965

    Error channel/Service Activator

    My class is defined as follows:

    class MyClass
    {
    @Transactional
    public void doFunction(Data data) {
    ....
    }

    I have a service activator defined as:
  21. Replies
    1
    Views
    713

    MethodReplacer

    Hi,

    I have class defined as follows with the annotation XXX

    abstract class YYY
    {
    @XXX("data");
    abstract void doSomething();
    }
Results 1 to 21 of 21