as far as I can tell, that is not in the scope of this conversation (pun intended :P )
browser tabs all share the same "session" and as such, you cannot log into the same app with different details...
Type: Posts; User: shaine; Keyword(s):
as far as I can tell, that is not in the scope of this conversation (pun intended :P )
browser tabs all share the same "session" and as such, you cannot log into the same app with different details...
I know this is an old thread, but for clarities sake for others that come across this.
Although you CAN use RowMapper and ResultSetExtractor in the way described above, this is actually the...
achieved this by overriding determineUrlToUseForThisRequest in my existing AuthenticationProcessingFilterEntryPoint implementation
@Override
protected String...
ok.
lets say I have a secure url pattern
eg. /secure/link-profile
optionally, there can be url paramaters appended.
eg....
we have 2 apps, frontend and backoffice webapps.
on the frontend, users can purchase "credits"
these purchases remain in a PENDING status until an admin authorizes them in the backoffice.
...
I have my registration controller setup to only allow anonymous users
@Controller
@PreAuthorize("isAnonymous()")
public class RegistrationController {
//snip
}
swagger doesnt support @Controller, @RequestMapping, only JAX-RS
there is a plugin, https://github.com/martypitt/swagger-springmvc, but it really doesnt work well.
this is how we do it
<c:set var="ctx" value="${pageContext.request.contextPath}" />
and then use $ctx in your urls
@Robert, thank you very much !!
say we have a simple search mapping
@RequestMapping(value = "/search", method = RequestMethod.GET)
public String search(@RequestParam("q") String searchTerm) {
//snipped
}
I hadnt actually set my client mode to passive, when I thought I had :p
I have a simple ftp outbound gateway configured for ls, get, rm
<int-ftp:outbound-gateway id="gatewayLS"
cache-sessions="false"
session-factory="incomingCachingSessionFactory"...
thinking about this, I can probably just use a file-name-generator on the out-bound-adapter that has a "subfolder" setting in it, that then does a count on the current subfolder
I have a simple file inbound channel adapter and file outbound channel adapter configuration to basically move files from one folder to another
the source folder read by the inbound channel...
how well does spring integration handle high volumes on a channel.
eg an inbound file adapter listening to a folder with 50000+ files.
is it better to to set a max-messages-per-poll in this case?...
Thinking about this more, it is probably even better if I use an file-inbound-channel adapter
as an update, I managed to "fix" my problem by amending my "newFileChannel" like so, essentially adding a tast-executor
ftp-context.xml
<publish-subscribe-channel id="newFileChannel"...
I have a basic flow:
gateway
3x ftp outbound gateway (ls, get, rm)
a service activator (unzip's each file downloaded)
transformer (exception handling)
as a test, I put 2 zip files on my ftp...
FTP Outbound Gateway. What a great piece of kit. I completely looked this by, as I just saw outbound, and associated it with Outbound Channel Adapter
thanks a stack guys
hi oleg
:)
yes, essentially I want to replace the "event" that happens on the polling interval, with my own event, eg control bus, or message on channel, etc
more description of my usecase.
...
One of the requirements for ftp-inbound-channel-adapter is a poller.
is it possible to create a "non-polling" poller.
I would like to fire it once per message via control bus.
Basic flow:...
this is perfect, you really do learn something new every day :)
I suppose now that I see it, it makes absolute sense
thanks for your prompt reply Gary, I will take a look at this
We are busy with a feed/content aggregation solution.
The basis is that our clients will be able to register their own endpoints.
In it's simplest form, lets say they can specifiy the FTP...
having the same issue, did you come right?