Search:

Type: Posts; User: occus3; Keyword(s):

Search: Search took 0.01 seconds.

  1. I don't know if this could be of somebody...

    I don't know if this could be of somebody interest but that's the only solution I have found to do this.

    I have extended the HibernatePagingItemReader and I have overrided the doReadPage() method....
  2. Reading the sorce code of...

    Reading the sorce code of AbstractPagingItemReader which is the parent of HibernatePagingItemReader I have seen that there is a "current" instance variable that is incremented previous to the actual...
  3. Retry on read with HibernatePagingItemReader

    I have a chunk tasklet that use as reader a custom reader. The custom reader has as a property an HibernatePagingItemReader that is used to read pages of data from database, do some grouping process...
  4. Replies
    1
    Views
    468

    QueueChannel ClassCastException

    Hi,

    I have queue channel defined as:



    channel id="myChannel">
    <queue capacity="100"/>
    </channel>
  5. Replies
    4
    Views
    794

    Thanks for your replies. Yes, I think ThreadLocal...

    Thanks for your replies. Yes, I think ThreadLocal with prototype scoped beans its the solucion to my problem as I have multiple threads executing multiple jobs, but each job is single-threaded. I...
  6. Thread: Manual SFTP

    by occus3
    Replies
    1
    Views
    703

    Manual SFTP

    I have the next requirement. At some hour I have to do some process and after it, I have to SFTP some files, process them and if all OK, delete from the SFTP Remote Server (I can't delete them at...
  7. Hi bleacherseat, I think skip listeners are...

    Hi bleacherseat,

    I think skip listeners are only called when the transaction of the chunk is commited. This is because if there is a rollback you don't really have written the chunk yet , so you...
  8. Replies
    7
    Views
    1,944

    Thanks for the idea, chori. I don't really like...

    Thanks for the idea, chori. I don't really like to left FAILED my jobs because it could be confusing. Finally as my job hasn't to be restartable but runnable, I create a new jobInstance every time...
  9. Replies
    7
    Views
    844

    Hi, I'm using 2.0.4, I really didn't know...

    Hi,

    I'm using 2.0.4, I really didn't know there was a new release.

    Thank you all for your help. I think the gateway will be the best solution. As oleg said, in synchronous mode the exception...
  10. Replies
    7
    Views
    844

    Thats a summarize of the code The spring...

    Thats a summarize of the code

    The spring integration config regarding this case



    [...]
    <channel id="channel1">
    <queue capacity="1000"/>
    </channel>
  11. Replies
    7
    Views
    844

    Synchronous Error Handling

    I hava a doubt about synchronous - asynchronous messaging and error handling.

    I have a service that send a message to a channel that is connected to an SFTP Outbound Adapter. I have a try-catch...
  12. Replies
    7
    Views
    1,944

    I don't know if the JobParametersIncrementer...

    I don't know if the JobParametersIncrementer solution is valid for me. Like matthewadams, I need rerunnability in my jobs. I have a daily job with, to simplify, two parameters: A partner id and a...
  13. Replies
    1
    Views
    1,523

    Use FlatFileItemWriter as delegate

    As I can't use the headerCallback to write more than one header in the same file, I have tried to implement a ItemWriter that in the write method creates a List with one String (the Header) and...
  14. Replies
    4
    Views
    794

    Pass data between steps

    I have a job that reads from a database and writes to a flat file. In one step I read the database data, process the data and write registers to the file. While processing I need to collect some...
  15. I have the same problem. I'm filling a text file...

    I have the same problem. I'm filling a text file in two steps, because it has two kind of registers groups (several registers per group). Each one of this groups has to be between a header and a...
Results 1 to 15 of 15